C# Class Recipes.Wires.SimpleBus

Inheritance: IBus
Exibir arquivo Open project: gnschenker/RecipesWithCqrsAndEs

Public Methods

Method Description
Dispatch ( object command, System.Action onSuccess, Action onFailure = null ) : void
SendOne ( object content ) : void
SimpleBus ( Lokad.Cqrs.SimpleMessageSender sender, SimpleDispatcher dispatcher ) : System

Method Details

Dispatch() public method

public Dispatch ( object command, System.Action onSuccess, Action onFailure = null ) : void
command object
onSuccess System.Action
onFailure Action
return void

SendOne() public method

public SendOne ( object content ) : void
content object
return void

SimpleBus() public method

public SimpleBus ( Lokad.Cqrs.SimpleMessageSender sender, SimpleDispatcher dispatcher ) : System
sender Lokad.Cqrs.SimpleMessageSender
dispatcher SimpleDispatcher
return System