C# Class Aperea.Commands.CommandExecutor

Inheritance: ICommandExecutor
Mostra file Open project: DerAlbertCom/ApereaFramework

Public Methods

Method Description
CommandExecutor ( ICommandDispatcher dispatcher ) : System
Execute ( ICommand command ) : void
ExecuteCommands ( IEnumerable commands ) : void
Validate ( ICommand command ) : IEnumerable
ValidateCommands ( IEnumerable commands ) : IEnumerable

Private Methods

Method Description
CreateExecutor ( ICommand command, ICommandHandler handler ) : Executor
GetExecutorInfo ( ICommand command, ICommandHandler handler ) : Executor

Method Details

CommandExecutor() public method

public CommandExecutor ( ICommandDispatcher dispatcher ) : System
dispatcher ICommandDispatcher
return System

Execute() public static method

public static Execute ( ICommand command ) : void
command ICommand
return void

ExecuteCommands() public method

public ExecuteCommands ( IEnumerable commands ) : void
commands IEnumerable
return void

Validate() public static method

public static Validate ( ICommand command ) : IEnumerable
command ICommand
return IEnumerable

ValidateCommands() public method

public ValidateCommands ( IEnumerable commands ) : IEnumerable
commands IEnumerable
return IEnumerable