C# 클래스 CodeValue.CodeCommander.Tests.Mocks.TestCommand

상속: System.CommandBase
파일 보기 프로젝트 열기: arielbh/CodeCommander 1 사용 예제들

공개 메소드들

메소드 설명
CanExecute ( ) : bool
Execute ( ) : void
InterpretResponse ( ProcessorInput response ) : bool
StartRequest ( CommandState currentState, Exception exception ) : void
TestCommand ( CommandState state, bool shouldFailIfFiltered = false, Exception>.Action startRequestAction = null, bool blockCanExecute = false, bool>.Func interpretResponseAction = null, bool shouldExecuteForever = false, System.TimeSpan pendingTimeout = null, System.TimeSpan executionTimeout = null, System.Action executeAction = null, bool shouldFailIfBlocked = false, Action beforeExecuteAction = null, Exception>.Action errorAction = null, Action fullfillmentAction = null, Action completeAction = null, bool shouldCompleteAfterExecute = false, string groupId = null ) : System

메소드 상세

CanExecute() 공개 메소드

public CanExecute ( ) : bool
리턴 bool

Execute() 공개 메소드

public Execute ( ) : void
리턴 void

InterpretResponse() 공개 메소드

public InterpretResponse ( ProcessorInput response ) : bool
response ProcessorInput
리턴 bool

StartRequest() 공개 메소드

public StartRequest ( CommandState currentState, Exception exception ) : void
currentState CommandState
exception System.Exception
리턴 void

TestCommand() 공개 메소드

public TestCommand ( CommandState state, bool shouldFailIfFiltered = false, Exception>.Action startRequestAction = null, bool blockCanExecute = false, bool>.Func interpretResponseAction = null, bool shouldExecuteForever = false, System.TimeSpan pendingTimeout = null, System.TimeSpan executionTimeout = null, System.Action executeAction = null, bool shouldFailIfBlocked = false, Action beforeExecuteAction = null, Exception>.Action errorAction = null, Action fullfillmentAction = null, Action completeAction = null, bool shouldCompleteAfterExecute = false, string groupId = null ) : System
state CommandState
shouldFailIfFiltered bool
startRequestAction Exception>.Action
blockCanExecute bool
interpretResponseAction bool>.Func
shouldExecuteForever bool
pendingTimeout System.TimeSpan
executionTimeout System.TimeSpan
executeAction System.Action
shouldFailIfBlocked bool
beforeExecuteAction Action
errorAction Exception>.Action
fullfillmentAction Action
completeAction Action
shouldCompleteAfterExecute bool
groupId string
리턴 System