コード例 #1
0
 protected string GetPropertyName <T>(Expression <Func <T> > propertyExpression)
 {
     return(PropertySupport.ExtractPropertyName(propertyExpression));
 }
コード例 #2
0
        protected void OnPropertyChanged <T>(Expression <Func <T> > propertyExpression)
        {
            var propertyName = PropertySupport.ExtractPropertyName(propertyExpression);

            this.OnPropertyChanged(propertyName);
        }