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

            if (propertyName != null)
            {
                RaisePropertyChanged(propertyName);
            }
        }
예제 #2
0
        protected void RaisePropertyChanged <T>(Expression <Func <T> > propertyExpression)
        {
            string propertyName = PropertySupport.ExtractPropertyName <T>(propertyExpression);

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

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

            this.SetErrors(propertyName, propertyErrors);
        }
예제 #5
0
        protected void RaisePropertyChanged <T>(Expression <Func <T> > propertyExpression)
        {
            var propertyName = PropertySupport.ExtractPropertyName(propertyExpression);

            this.RaisePropertyChanged(propertyName);
        }
예제 #6
0
        protected void RaisePropertyChanged <T>(System.Linq.Expressions.Expression <Func <T> > propertyExpression)
        {
            var propertyName = PropertySupport.ExtractPropertyName(propertyExpression);

            RaisePropertyChanged(propertyName);
        }