C# Класс CodeValue.CodeCommander.Tests.Mocks.TestCommand

Наследование: System.CommandBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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