Classical example is start and end date:
- user enters start "6th"
- user enters end "3rd" - both fields are invalid
- user corrects start to "1st" - both fields should be ok
How can ReactiveValidatedObject help here?
--
-- Lukáš
--
Paul Betts <pa...@paulbetts.org>
2011/5/4 Lukas Cenovsky <ceno...@bakalari.cz>:
protected internal void raisePropertyChanged(string propertyName) { Contract.Requires(propertyName != null); verifyPropertyName(propertyName); this.Log().DebugFormat("{0:X}.{1} changed", this.GetHashCode(), propertyName); if (!areChangeNotificationsEnabled) { this.Log().DebugFormat("Suppressed change"); return; } // HANDLER var handler = this.PropertyChanged; if (handler != null) { var e = new PropertyChangedEventArgs(propertyName); handler(this, e); } // OBSERVABLE notifyObservable(new ObservedChange<object, object>() { PropertyName = propertyName, Sender = this, Value = null }, changedSubject); }
--
Paul Betts <pa...@paulbetts.org>
2011/5/6 Lukas Cenovsky <ceno...@bakalari.cz>:
--
-- Lukáš