public ClassItemViewModel(ClassItem item, ClassItemViewModel parent) : base(parent) { _Model = item; _Children = new Services.ObservableSortedList<ClassItemViewModel>( (from child in _Model.Children select new ClassItemViewModel(item, null)).ToList<ClassItemViewModel>(), new Comparers.ClassItemComparer() ); }
public ClassItemViewModel(ClassItem item) : this(item, null) { }