public void ClearErrors <TProperty>(Expression <Func <TProperty> > propertyExpression)
        {
            var propertyName = PropertySupport.ExtractPropertyName(propertyExpression);

            this.ClearErrors(propertyName);
        }
Example #2
0
        protected void RaisePropertyChanged <T>(Expression <Func <T> > propertyExpression)
        {
            var propertyName = PropertySupport.ExtractPropertyName(propertyExpression);

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

            this.SetErrors(propertyName, propertyErrors);
        }