Method | Description | |
---|---|---|
AppendAction ( IAction newAction ) : bool |
Adds a new action to the tail after current state. If there exist more actions after this, they're lost (Garbage Collected). This is the only method of this class that actually modifies the linked-list.
|
|
Clear ( ) : void |
All existing Nodes and Actions are garbage collected.
|
|
EnumUndoableActions ( ) : IEnumerable |
Enums the undoable actions.
|
|
GetEnumerator ( ) : IEnumerator |
||
MoveBack ( ) : void |
Moves the back.
|
|
MoveForward ( ) : void |
Moves the forward.
|
|
SimpleHistory ( ) : System |
Initializes a new instance of the SimpleHistory class.
|
Method | Description | |
---|---|---|
RaiseUndoBufferChanged ( ) : void |
Raises the undo buffer changed.
|
Method | Description | |
---|---|---|
Init ( ) : void |
Inits this instance.
|
|
System ( ) : System.Collections.IEnumerator |
public AppendAction ( IAction newAction ) : bool | ||
newAction | IAction | Action to be added. |
return | bool |