C# Class CQRSMicroservices.Framework.CommandBus

Show file Open project: AFASResearch/CQRS-Playground

Public Methods

Method Description
Dispatch ( Command command ) : System.Threading.Tasks.Task
RegisterHandler ( CommandHandler commandHandler ) : void

Method Details

Dispatch() public method

public Dispatch ( Command command ) : System.Threading.Tasks.Task
command Command
return System.Threading.Tasks.Task

RegisterHandler() public method

public RegisterHandler ( CommandHandler commandHandler ) : void
commandHandler CommandHandler
return void