예제 #1
0
        protected override void RaisePropertyChanged <T>(Expression <Func <T> > propertyExpression, bool isNotifyStateChanged)
        {
            PropertyInfo propertyInfo = PropertySupport.ExtractPropertyInfo <T>(propertyExpression);

            base.RaisePropertyChanged <T>(propertyExpression, isNotifyStateChanged);
            if (this.isSettingValue || !ModelObject.CheckIsResource(propertyInfo))
            {
                return;
            }
            this.OnResourcesPropertyChanged(propertyInfo, false);
        }
예제 #2
0
 public static string ExtractPropertyName <T>(Expression <Func <T> > propertyExpression)
 {
     return(PropertySupport.ExtractPropertyInfo <T>(propertyExpression).Name);
 }
예제 #3
0
        protected virtual void RaisePropertyChanged <T>(Expression <Func <T> > propertyExpression)
        {
            PropertyInfo propertyInfo = PropertySupport.ExtractPropertyInfo <T>(propertyExpression);

            this.RaisePropertyChanged(propertyInfo);
        }
예제 #4
0
 protected virtual void RaisePropertyChanged <T>(Expression <Func <T> > propertyExpression, bool isNotifyStateChanged)
 {
     this.RaisePropertyChanged(PropertySupport.ExtractPropertyInfo <T>(propertyExpression), isNotifyStateChanged);
 }