protected bool Set <T>(ref T storage, ref T value, [CallerMemberName] string propertyName = "") { if (!NotificationObject.IsEquals(ref storage, ref value)) { storage = value; this.RaisePropertyChanged(propertyName); return(true); } return(false); }
protected bool Set <T>(ref T storage, ref T value, PropertyChangedEventArgs e) { if (!NotificationObject.IsEquals(ref storage, ref value)) { storage = value; this.RaisePropertyChanged(e); return(true); } return(false); }