Пример #1
0
 public PropertyBindViewModel(PropertyBindModel model = null)
 {
     Model = model ?? new PropertyBindModel {
         AThing = 42, AnotherThing = "Baz"
     };
     SomeCollectionOfStrings = new ObservableCollectionExtended <string>(new[] { "Foo", "Bar" });
 }
Пример #2
0
 public PropertyBindViewModel(PropertyBindModel model = null)
 {
     Model = model ?? new PropertyBindModel()
     {
         AThing = 42, AnotherThing = "Baz"
     };
     SomeCollectionOfStrings = new ReactiveCollection <string>(new[] { "Foo", "Bar" });
 }
Пример #3
0
 public PropertyBindViewModel(PropertyBindModel model = null)
 {
     Model = model ?? new PropertyBindModel() {AThing = 42, AnotherThing = "Baz"};
     SomeCollectionOfStrings = new ReactiveList<string>(new[] { "Foo", "Bar" });
 }