public void NotifyError(string propertyName, IValidationError error, object value) { if (ErrorsChanged != null) { _scheduler.SafeDispatch(() => ErrorsChanged(this, new ValidationErrorEventArgs(propertyName, error, value))); } }
public void NotifyPropertyChanged([CallerMemberName] string propertyName = null) { if (PropertyChanged != null) { _schedulers.SafeDispatch(() => PropertyChanged(this, new PropertyChangedEventArgs(propertyName))); } }