Ejemplo n.º 1
0
        public void ClearErrors <TProperty>(Expression <Func <TProperty> > propertyExpression)
        {
            var propertyName = PropertySupport.ExtractPropertyName(propertyExpression);

            this.ClearErrors(propertyName);
        }
Ejemplo n.º 2
0
        public void SetErrors <TProperty>(Expression <Func <TProperty> > propertyExpression, IEnumerable <T> propertyErrors)
        {
            var propertyName = PropertySupport.ExtractPropertyName(propertyExpression);

            this.SetErrors(propertyName, propertyErrors);
        }