コード例 #1
0
 protected bool OnPropertyChanged <T>(ref T currentValue, T newValue, [CallerMemberName] string propertyName = "")
 {
     // ReSharper disable once ExplicitCallerInfoArgument
     return(PropertyChanged.SetProperty(this, ref currentValue, newValue, propertyName));
 }
コード例 #2
0
 protected virtual bool SetPropertyChanged <T>(ref T currentValue, T newValue, [CallerMemberName] string propertyName = "")
 {
     return(PropertyChanged.SetProperty(this, ref currentValue, newValue, propertyName));
 }
コード例 #3
0
ファイル: BaseModel.cs プロジェクト: llenroc/MobileCenterApp
		internal bool ProcPropertyChanged<T>(ref T currentValue, T newValue, [CallerMemberName] string propertyName = "")
		{
			return PropertyChanged.SetProperty(this, ref currentValue, newValue, propertyName);
		}