Constable Authorization Engine 2.0 BETA

ObjectBase.OnPropertyChanging Method 

[This is preliminary documentation and subject to change.]

Called when a property of the object is about to be changed.

[Visual Basic]
Protected Sub OnPropertyChanging( _
   ByVal propertyName As String, _
   ByVal oldValue As Object, _
   ByVal newValue As Object _
)
[C#]
protected void OnPropertyChanging(
   string propertyName,
   object oldValue,
   object newValue
);

Parameters

propertyName
The name of the property.
oldValue
The old property value.
newValue
The new property value.

Remarks

The implementation creates and caches a new PropertyChangeEventArgs instance and dispatches the event by means of calling the PropagateChangingEvent method. The corresponding 'changed' event should be raised by calling the OnPropertyChanged method after the property's value has been changed. In other word, calls to OnPropertyChanging and OnPropertyChanged method should always be balanced.

See Also

ObjectBase Class | LaMarvin.Constable.Model Namespace