C# Class CodeValue.CodeCommander.Tests.Mocks.TestCommand

Inheritance: System.CommandBase
Afficher le fichier Open project: arielbh/CodeCommander Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

CanExecute() public méthode

public CanExecute ( ) : bool
Résultat bool

Execute() public méthode

public Execute ( ) : void
Résultat void

InterpretResponse() public méthode

public InterpretResponse ( ProcessorInput response ) : bool
response ProcessorInput
Résultat bool

StartRequest() public méthode

public StartRequest ( CommandState currentState, Exception exception ) : void
currentState CommandState
exception System.Exception
Résultat void

TestCommand() public méthode

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
Résultat System