public void SetErrors <TProperty>(Expression <Func <TProperty> > propertyExpression, IEnumerable <T> propertyErrors) { var propertyName = PropertySupport.ExtractPropertyName(propertyExpression); this.SetErrors(propertyName, propertyErrors); }
public void ClearErrors <TProperty>(Expression <Func <TProperty> > propertyExpression) { var propertyName = PropertySupport.ExtractPropertyName(propertyExpression); this.ClearErrors(propertyName); }
protected virtual void OnPropertyChanged <T>(Expression <Func <T> > propertyExpression) { var propertyName = PropertySupport.ExtractPropertyName(propertyExpression); OnPropertyChanged(propertyName); }