Property | Type | Description | |
---|---|---|---|
CheckNotRunningBeforeRecording | void | ||
RunActionDirectly | void |
Method | Description | |
---|---|---|
ActionManager ( ) : System |
Initializes a new instance of the ActionManager class.
|
|
BeginTransaction ( ) : void |
Begins the transaction.
|
|
CancelTransaction ( ) : void |
Cancels the transaction.
|
|
Clear ( ) : void |
Clears this instance.
|
|
CommitTransaction ( ) : void |
Commits the transaction.
|
|
CreateTransaction ( ) : |
Creates the transaction.
|
|
CreateTransaction ( bool delayed ) : |
Creates the transaction.
|
|
EnumUndoableActions ( ) : IEnumerable |
Enums the undoable actions.
|
|
Execute ( IAction action ) : void |
Executes the specified action.
|
|
IsInTransaction ( ) : bool |
Determines whether is in transaction.
|
|
OpenTransaction ( ITransaction t ) : void |
Opens the transaction.
|
|
RecordAction ( IAction existingAction ) : void |
Central method to add and execute a new action.
|
|
RecordOrExcuteAction ( IAction existingAction ) : void |
Records the or excute action.
|
|
Recover ( ) : void |
Recovers this instance from exception.
|
|
Redo ( ) : void |
Redoes this instance.
|
|
RollBackTransaction ( ) : void |
Rolls the back transaction.
|
|
Undo ( ) : void |
Undoes this instance.
|
Method | Description | |
---|---|---|
RaiseUndoBufferChanged ( object sender, |
Raises the undo buffer changed.
|
Method | Description | |
---|---|---|
CheckNotRunningBeforeRecording ( IAction existingAction ) : void |
Checks the not running before recording.
|
|
RunActionDirectly ( IAction actionToRun ) : void |
Adds the action to the buffer and runs it
|
public CreateTransaction ( bool delayed ) : |
||
delayed | bool | if set to |
return |
public Execute ( IAction action ) : void | ||
action | IAction | The action. |
return | void |
public OpenTransaction ( ITransaction t ) : void | ||
t | ITransaction | The t. |
return | void |
protected RaiseUndoBufferChanged ( object sender, |
||
sender | object | The sender. |
e | The |
|
return | void |
public RecordAction ( IAction existingAction ) : void | ||
existingAction | IAction | An action to be recorded in the buffer and executed |
return | void |
public RecordOrExcuteAction ( IAction existingAction ) : void | ||
existingAction | IAction | The existing action. |
return | void |