C# Class Memento.PropertyChangeEvent

Represents a property value change event.
Inheritance: BaseEvent
Show file Open project: buunguyen/memento Class Usage Examples

Public Methods

Method Description
PropertyChangeEvent ( object target, string propertyName, object propertyValue = null ) : System

Creates the event.

Protected Methods

Method Description
Rollback ( ) : BaseEvent

Private Methods

Method Description
PropertyInfo ( ) : PropertyInfo

Method Details

PropertyChangeEvent() public method

Creates the event.
public PropertyChangeEvent ( object target, string propertyName, object propertyValue = null ) : System
target object The target object whose property is changed.
propertyName string The name of the property being changed.
propertyValue object The value of the property. If not supplied, use the current value of in
return System

Rollback() protected method

protected Rollback ( ) : BaseEvent
return BaseEvent