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

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

            SetErrors(propertyName, propertyErrors);
        }
Exemplo n.º 3
0
        protected void OnPropertyChanged <T>(Expression <Func <T> > propertyExpression)
        {
            var propertyName = PropertySupport.ExtractPropertyName(propertyExpression);

            base.OnPropertyChanged(propertyName);
        }