public void Setup()
 {
     _target                = new _ClassWithSomeProperties();
     _nullableProperty      = new TrackingNullableProperty <string>(_target);
     _initiallyNullProperty = new TrackingOnlyInitiallyNullProperty <string>(_target);
     _nonNullableProperty   = new TrackingNonNullProperty <string>(TheNonNullPropertyValue, _target);
 }
 public void Setup()
 {
     _target = new _ClassWithSomeProperties();
     _nullableProperty = new TrackingNullableProperty<string>(_target);
     _initiallyNullProperty = new TrackingOnlyInitiallyNullProperty<string>(_target);
     _nonNullableProperty = new TrackingNonNullProperty<string>(TheNonNullPropertyValue, _target);
 }
Beispiel #3
0
 public CardData()
 {
     _name = new TrackingOnlyInitiallyNullProperty <string>(this, () => Name);
 }
 public AppModel(FileSystem fileSystem)
 {
     FileSystem = fileSystem;
     OpenChar = new SimpleCommand(Always.Enabled, ChangeCurrentCharacter);
     _character = new TrackingOnlyInitiallyNullProperty<CharacterModel>(this, () => Character);
 }