public ComplexSubObject() { Types = new ExpandableObservableCollection <SimpleValues>(); Types.Add(new SimpleValues() { name = "foo", value = "bar" }); Types.Add(new SimpleValues() { name = "bar", value = "foo" }); }
public ComplexObject() { ID = 1; Classes = new ExpandableObservableCollection <ComplexSubObject>(); Classes.Add(new ComplexSubObject() { Name = "CustomFoo" }); Classes.Add(new ComplexSubObject() { Name = "My Other Foo" }); }