Пример #1
0
        protected virtual void OnPropertyChanged <T>(Expression <Func <T> > propertyExpression)
        {
            string propertyName = PropertySupport.ExtractPropertyName(propertyExpression);

            OnPropertyChanged(propertyName);
        }
Пример #2
0
        protected void OnPropertyChanged <T>(Expression <Func <T> > propertyExpression, bool makeDirty)
        {
            string propertyName = PropertySupport.ExtractPropertyName(propertyExpression);

            OnPropertyChanged(propertyName, makeDirty);
        }