C# 클래스 GuiLabs.Undo.Transaction

상속: IAction, IDisposable
파일 보기 프로젝트 열기: KirillOsenkov/Undo 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Transaction System

공개 메소드들

메소드 설명
Add ( IAction actionToAppend ) : void
CanExecute ( ) : bool
CanUnExecute ( ) : bool
Commit ( ) : void
Create ( ActionManager actionManager ) : Transaction

By default, the actions are delayed and executed only after the top-level transaction commits.

Make sure to dispose of the transaction once you're done - it will actually call Commit for you

Create ( ActionManager actionManager, bool delayed ) : Transaction
Dispose ( ) : void
Execute ( ) : void
HasActions ( ) : bool
Remove ( IAction actionToCancel ) : void
Rollback ( ) : void
TryToMerge ( IAction followingAction ) : bool
UnExecute ( ) : void

비공개 메소드들

메소드 설명
Transaction ( ActionManager actionManager, bool delayed ) : System

메소드 상세

Add() 공개 메소드

public Add ( IAction actionToAppend ) : void
actionToAppend IAction
리턴 void

CanExecute() 공개 메소드

public CanExecute ( ) : bool
리턴 bool

CanUnExecute() 공개 메소드

public CanUnExecute ( ) : bool
리턴 bool

Commit() 공개 메소드

public Commit ( ) : void
리턴 void

Create() 공개 정적인 메소드

By default, the actions are delayed and executed only after the top-level transaction commits.
Make sure to dispose of the transaction once you're done - it will actually call Commit for you
public static Create ( ActionManager actionManager ) : Transaction
actionManager ActionManager
리턴 Transaction

Create() 공개 정적인 메소드

public static Create ( ActionManager actionManager, bool delayed ) : Transaction
actionManager ActionManager
delayed bool
리턴 Transaction

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Execute() 공개 메소드

public Execute ( ) : void
리턴 void

HasActions() 공개 메소드

public HasActions ( ) : bool
리턴 bool

Remove() 공개 메소드

public Remove ( IAction actionToCancel ) : void
actionToCancel IAction
리턴 void

Rollback() 공개 메소드

public Rollback ( ) : void
리턴 void

TryToMerge() 공개 메소드

public TryToMerge ( IAction followingAction ) : bool
followingAction IAction
리턴 bool

UnExecute() 공개 메소드

public UnExecute ( ) : void
리턴 void