C# 클래스 GuiLabs.Undo.SimpleHistory

IActionHistory represents a recorded list of actions undertaken by user. This class implements a usual, linear action sequence. You can move back and forth changing the state of the respective document. When you move forward, you execute a respective action, when you move backward, you Undo it (UnExecute). Implemented through a double linked-list of SimpleHistoryNode objects. ====================================================================
상속: IActionHistory
파일 보기 프로젝트 열기: KirillOsenkov/Undo 1 사용 예제들

공개 메소드들

메소드 설명
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.

EnumRedoableActions ( ) : IEnumerable
EnumUndoableActions ( ) : IEnumerable
GetEnumerator ( ) : IEnumerator
MoveBack ( ) : void
MoveForward ( ) : void
SimpleHistory ( ) : System

보호된 메소드들

메소드 설명
RaiseUndoBufferChanged ( ) : void

비공개 메소드들

메소드 설명
Init ( ) : void
System ( ) : System.Collections.IEnumerator

메소드 상세

AppendAction() 공개 메소드

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.
public AppendAction ( IAction newAction ) : bool
newAction IAction Action to be added.
리턴 bool

Clear() 공개 메소드

All existing Nodes and Actions are garbage collected.
public Clear ( ) : void
리턴 void

EnumRedoableActions() 공개 메소드

public EnumRedoableActions ( ) : IEnumerable
리턴 IEnumerable

EnumUndoableActions() 공개 메소드

public EnumUndoableActions ( ) : IEnumerable
리턴 IEnumerable

GetEnumerator() 공개 메소드

public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

MoveBack() 공개 메소드

public MoveBack ( ) : void
리턴 void

MoveForward() 공개 메소드

public MoveForward ( ) : void
리턴 void

RaiseUndoBufferChanged() 보호된 메소드

protected RaiseUndoBufferChanged ( ) : void
리턴 void

SimpleHistory() 공개 메소드

public SimpleHistory ( ) : System
리턴 System