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); }
public static string ExtractPropertyName <T>(Expression <Func <T> > propertyExpression) { return(PropertySupport.ExtractPropertyInfo <T>(propertyExpression).Name); }
protected virtual void RaisePropertyChanged <T>(Expression <Func <T> > propertyExpression) { PropertyInfo propertyInfo = PropertySupport.ExtractPropertyInfo <T>(propertyExpression); this.RaisePropertyChanged(propertyInfo); }
protected virtual void RaisePropertyChanged <T>(Expression <Func <T> > propertyExpression, bool isNotifyStateChanged) { this.RaisePropertyChanged(PropertySupport.ExtractPropertyInfo <T>(propertyExpression), isNotifyStateChanged); }