C# 클래스 Illusion.SimpleHistoryNode

Represents a node of the doubly linked-list SimpleHistory (StateX in the following diagram:) (State0) --- [Action0] --- (State1) --- [Action1] --- (State2) StateX (e.g. State1) has a link to the previous State, previous Action, next State and next Action. As you move from State1 to State2, an Action1 is executed (Redo). As you move from State1 to State0, an Action0 is un-executed (Undo).
파일 보기 프로젝트 열기: kasicass/kasicass 1 사용 예제들

공개 메소드들

메소드 설명
SimpleHistoryNode ( )

Initializes a new instance of the SimpleHistoryNode class.

SimpleHistoryNode ( IAction lastExistingAction, SimpleHistoryNode lastExistingState )

Initializes a new instance of the SimpleHistoryNode class.

메소드 상세

SimpleHistoryNode() 공개 메소드

Initializes a new instance of the SimpleHistoryNode class.
public SimpleHistoryNode ( )

SimpleHistoryNode() 공개 메소드

Initializes a new instance of the SimpleHistoryNode class.
public SimpleHistoryNode ( IAction lastExistingAction, SimpleHistoryNode lastExistingState )
lastExistingAction IAction The last existing action.
lastExistingState SimpleHistoryNode Last state of the existing.