Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (25 sloc) 0.556 kB
using System;
using System.Collections.Generic;
namespace Moq.Visualizer
{
[Serializable]
public abstract class ContainerViewModel
{
protected ContainerViewModel(string name)
{
this.Name = name;
}
public string Name { get; private set; }
}
[Serializable]
public class ContainerViewModel<T> : ContainerViewModel
{
public ContainerViewModel(string name, IEnumerable<T> children)
: base(name)
{
this.Children = children;
}
public bool IsExpanded { get; set; }
public IEnumerable<T> Children { get; private set; }
}
}
Jump to Line
Something went wrong with that request. Please try again.