Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public static string ExtractPropertyName <T>(Expression <Func <T> > propertyExpression)
 {
     return(PropertySupport.ExtractPropertyInfo <T>(propertyExpression).Name);
 }
Exemplo n.º 3
0
        protected virtual void RaisePropertyChanged <T>(Expression <Func <T> > propertyExpression)
        {
            PropertyInfo propertyInfo = PropertySupport.ExtractPropertyInfo <T>(propertyExpression);

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