protected void OnPropertyChanging(string propertyName) { PropertyChanging.Raise(this, propertyName); }
/// <summary> /// 触发属性即将修改的通知事件。 /// </summary> /// <param name="e"></param> protected virtual void OnPropertyChanging(PropertyChangingEventArgs e) { PropertyChanging.Invoke(this, e); }
private void OnPropertyChanging(string propertyName) { PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName)); }
public virtual void OnPropertyChanging(string propertyName, int fake) { PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName)); }
public void NotifyChanging(string propertyName) => PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName));
public void OnPropertyChanging(string propertyName, object before) { PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName)); }
/// <summary> /// Raises all the property changing events /// </summary> public void RaisePropertyChanging() { PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(nameof(Value))); PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(nameof(HasValue))); PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(nameof(IsDefault))); }
protected void RaisePropertyValueChanging(PropertyValueChangingEventArgs args) { PropertyChanging?.Invoke(this, args); PropertyValueChanging?.Invoke(this, args); }
public virtual void RaisePropertyChanging([CallerMemberName] string?propertyName = null) { VerifyPropertyName(propertyName); PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName)); }
protected void RaisePropertyChanging(PropertyChangingEventArgs eventArgs) => PropertyChanging?.Invoke(this, eventArgs);
protected void SetProperty <T>(ref T field, T value, [CallerMemberName] string propertyName = "") { PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName)); field = value; OnPropertyChanged(propertyName); }
public virtual void OnPropertyChanging(PropertyChangingEventArgs propertyArg) { PropertyChanging?.Invoke(this, propertyArg); }
public virtual void RaisePropertyChanging(string propertyName) { VerifyPropertyName(propertyName); PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName)); }
protected void NotifyPropertyChanging(string propertyName) { VerifyHasProperty(propertyName); PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName)); }
private void NotifyChanging([CallerMemberName] string propertyName = "") => PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName));
public virtual void OnPropertyChanging(string propertyName) { baseNotifyCalled = true; PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName)); }
protected void RaisePropertyChanging(string propertyName) { PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName)); }
public void RaisePropertyChanging(string propertyName = null) { PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName)); }
public void RaisePropertyChanging(PropertyChangingEventArgs args) { PropertyChanging?.Invoke(this, args); }
//========================================================================================================= //========================================================================================================= //ACTUALIZA LA INFORMACION DE LA PROPIEDAD CADA QUE SE DECTECTA UN CAMBIO MINIMO private void OnPropertyChanged([CallerMemberName] string nombre = "") { PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(nombre)); }
protected virtual void RaisePropertyChanging(string propertyName) { PropertyChanging?.Invoke(this, new System.ComponentModel.PropertyChangingEventArgs(propertyName)); }
protected void RaiseUpdating([CallerMemberName] string propertyName = null) { PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName)); }
/// <inheritdoc/> void IReactiveObject.RaisePropertyChanging(PropertyChangingEventArgs args) { PropertyChanging?.Invoke(this, args); }
protected virtual void OnPropertyChanging([NotNull] PropertyChangingEventArgs e) => PropertyChanging?.Invoke(this, e);
public void OnPropertyChanging(string propertyName) { PropertyChanging?.Invoke(this, new System.ComponentModel.PropertyChangingEventArgs(propertyName)); }
/// <summary> /// Called when [property changing]. /// </summary> /// <param name="methodName">Name of the method.</param> public void OnPropertyChanging(string methodName) { PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(methodName)); }
protected virtual void OnPropertyChanging(string propertyName) { PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName)); }
protected virtual void OnPropertyChanging(object sender, PropertyChangingEventArgs e) => PropertyChanging?.Invoke(sender, e);
protected virtual void OnPropertyChanging([CallerMemberName] string propertyName = null) => PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName));
public virtual void Cambio([CallerMemberName] string propiedad = null) { PropertyChanging?.Invoke(this, new System.ComponentModel.PropertyChangingEventArgs(propiedad)); }