public PropertyBindViewModel(PropertyBindModel model = null) { Model = model ?? new PropertyBindModel { AThing = 42, AnotherThing = "Baz" }; SomeCollectionOfStrings = new ObservableCollectionExtended <string>(new[] { "Foo", "Bar" }); }
public PropertyBindViewModel(PropertyBindModel model = null) { Model = model ?? new PropertyBindModel() { AThing = 42, AnotherThing = "Baz" }; SomeCollectionOfStrings = new ReactiveCollection <string>(new[] { "Foo", "Bar" }); }
public PropertyBindViewModel(PropertyBindModel model = null) { Model = model ?? new PropertyBindModel() {AThing = 42, AnotherThing = "Baz"}; SomeCollectionOfStrings = new ReactiveList<string>(new[] { "Foo", "Bar" }); }