Class CommandHandlerWrapper
Wraps a generic ICommandHandler<T> or ICommandListHandler<T> and allows easy calling of generic interface methods.
public sealed class CommandHandlerWrapper
- Inheritance
-
CommandHandlerWrapper
- Inherited Members
Methods
FromCommandHandler(Type, object)
public static CommandHandlerWrapper FromCommandHandler(Type commandHandlerInterfaceType, object commandHandler)
Parameters
Returns
FromCommandListHandler(Type, object)
public static CommandHandlerWrapper FromCommandListHandler(Type commandHandlerInterfaceType, object commandListHandler)
Parameters
Returns
Populate(Command, List<Command>)
public void Populate(Command command, List<Command> commands)
Parameters
Run(Command)
public Task Run(Command command)
Parameters
command
Command
Returns
Update(Command)
public void Update(Command command)
Parameters
command
Command