public void Setup()
 {
     _target                = new _ClassWithSomeProperties();
     _nullableProperty      = new TrackingNullableProperty <string>(_target);
     _initiallyNullProperty = new TrackingOnlyInitiallyNullProperty <string>(_target);
     _nonNullableProperty   = new TrackingNonNullProperty <string>(TheNonNullPropertyValue, _target);
 }
Ejemplo n.º 2
0
 protected Character()
 {
     _cards         = new Lazy <ObservableCollection <Control> >(MakeCards);
     _gender        = new TrackingNonNullProperty <string>(string.Empty, this, () => Gender);
     _name          = new TrackingNonNullProperty <string>(string.Empty, this, () => Name);
     EqualityFields = new EqualityFingerprint(_gender, _name);
 }
 public void Setup()
 {
     _target = new _ClassWithSomeProperties();
     _nullableProperty = new TrackingNullableProperty<string>(_target);
     _initiallyNullProperty = new TrackingOnlyInitiallyNullProperty<string>(_target);
     _nonNullableProperty = new TrackingNonNullProperty<string>(TheNonNullPropertyValue, _target);
 }
Ejemplo n.º 4
0
 public _ClassShowingTypicalUsageOfTrackingProperties()
 {
     _name = new TrackingNonNullProperty <string>(string.Empty, this, () => Name, () => FullName);
 }
 public _ClassShowingTypicalUsageOfTrackingProperties()
 {
     _name = new TrackingNonNullProperty<string>(string.Empty, this, () => Name, () => FullName);
 }