메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
RaiseUndoBufferChanged ( ) : void |
Raises the undo buffer changed.
|
메소드 | 설명 | |
---|---|---|
Init ( ) : void |
Inits this instance.
|
|
System ( ) : System.Collections.IEnumerator |
public AppendAction ( IAction newAction ) : bool | ||
newAction | IAction | Action to be added. |
리턴 | bool |