C# 클래스 ScreenToGif.Util.ActionStack

Do, Undo, Redo stack.
파일 보기 프로젝트 열기: dbremner/ScreenToGif

공개 메소드들

메소드 설명
CanRedo ( ) : bool

Verifies if the Redo stack has elements and nothing else is happening.

CanUndo ( ) : bool

Verifies if the Undo stack has elements and nothing else is happening.

Clear ( ) : void

Clear the Action Stack.

Did ( List list ) : void

Add the change to the list.

Prepare ( string path ) : void

Creates the folders used by the ActionStack.

Redo ( List list ) : List

Redo the last Undo action.

Reset ( List list ) : List

Redo the last action.

Undo ( List list ) : List

Redo the last action.

메소드 상세

CanRedo() 공개 정적인 메소드

Verifies if the Redo stack has elements and nothing else is happening.
public static CanRedo ( ) : bool
리턴 bool

CanUndo() 공개 정적인 메소드

Verifies if the Undo stack has elements and nothing else is happening.
public static CanUndo ( ) : bool
리턴 bool

Clear() 공개 정적인 메소드

Clear the Action Stack.
public static Clear ( ) : void
리턴 void

Did() 공개 정적인 메소드

Add the change to the list.
public static Did ( List list ) : void
list List The List of frames to stack.
리턴 void

Prepare() 공개 정적인 메소드

Creates the folders used by the ActionStack.
public static Prepare ( string path ) : void
path string The file path of one of the frames.
리턴 void

Redo() 공개 정적인 메소드

Redo the last Undo action.
public static Redo ( List list ) : List
list List
리턴 List

Reset() 공개 정적인 메소드

Redo the last action.
public static Reset ( List list ) : List
list List
리턴 List

Undo() 공개 정적인 메소드

Redo the last action.
public static Undo ( List list ) : List
list List
리턴 List