Interface ICommandRouter
An abstraction of a command router.
public interface ICommandRouter
Methods
RouteCommandAsync(CommandRouterContext)
Routes the request asynchronously.
Task<CommandRouterResult> RouteCommandAsync(CommandRouterContext context)
Parameters
context
CommandRouterContextThe router context.
Returns
- Task<CommandRouterResult>
The router result.