Метод | Описание | |
---|---|---|
SetPropertyAction ( object parentObject, string propertyName, object value ) : System.ComponentModel |
Initializes a new instance of the SetPropertyAction class.
|
|
SetPropertyAction ( object parentObject, string propertyName, object value, object oldValue ) : System.ComponentModel | ||
TryToMerge ( IAction followingAction ) : bool |
Subsequent changes of the same property on the same object are consolidated into one action
|
Метод | Описание | |
---|---|---|
ExecuteCore ( ) : void |
Override execute core to provide your logic that actually performs the action
|
|
UnExecuteCore ( ) : void |
Override this to provide the logic that undoes the action
|
public SetPropertyAction ( object parentObject, string propertyName, object value ) : System.ComponentModel | ||
parentObject | object | The parent object. |
propertyName | string | Name of the property. |
value | object | The value. |
Результат | System.ComponentModel |
public SetPropertyAction ( object parentObject, string propertyName, object value, object oldValue ) : System.ComponentModel | ||
parentObject | object | |
propertyName | string | |
value | object | |
oldValue | object | |
Результат | System.ComponentModel |
public TryToMerge ( IAction followingAction ) : bool | ||
followingAction | IAction | Subsequent action that is being recorded |
Результат | bool |