CQRS.NET  2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Commands.ISendAndWaitCommandSender< TAuthenticationToken > Interface Template Reference

Sends an ICommand<TAuthenticationToken> More...

+ Inheritance diagram for Cqrs.Commands.ISendAndWaitCommandSender< TAuthenticationToken >:

Public Member Functions

TEvent SendAndWait< TCommand, TEvent > (TCommand command, IEventReceiver< TAuthenticationToken > eventReceiver=null)
 Sends the provided command and waits for an event of TEvent More...
 
TEvent SendAndWait< TCommand, TEvent > (TCommand command, int millisecondsTimeout, IEventReceiver< TAuthenticationToken > eventReceiver=null)
 Sends the provided command and waits for an event of TEvent or exits if the specified timeout is expired. More...
 
TEvent SendAndWait< TCommand, TEvent > (TCommand command, TimeSpan timeout, IEventReceiver< TAuthenticationToken > eventReceiver=null)
 Sends the provided command and waits for an event of TEvent or exits if the specified timeout is expired. More...
 
TEvent SendAndWait< TCommand, TEvent > (TCommand command, Func< IEnumerable< IEvent< TAuthenticationToken >>, TEvent > condition, IEventReceiver< TAuthenticationToken > eventReceiver=null)
 Sends the provided command and waits until the specified condition is satisfied an event of TEvent More...
 
TEvent SendAndWait< TCommand, TEvent > (TCommand command, Func< IEnumerable< IEvent< TAuthenticationToken >>, TEvent > condition, int millisecondsTimeout, IEventReceiver< TAuthenticationToken > eventReceiver=null)
 Sends the provided command and waits for an event of TEvent or exits if the specified timeout is expired. More...
 
TEvent SendAndWait< TCommand, TEvent > (TCommand command, Func< IEnumerable< IEvent< TAuthenticationToken >>, TEvent > condition, TimeSpan timeout, IEventReceiver< TAuthenticationToken > eventReceiver=null)
 Sends the provided command and waits for an event of TEvent or exits if the specified timeout is expired. More...
 
- Public Member Functions inherited from Cqrs.Commands.ICommandSender< TAuthenticationToken >
void Send< TCommand > (TCommand command)
 
void Send< TCommand > (IEnumerable< TCommand > commands)
 
- Public Member Functions inherited from Cqrs.Commands.ICommandPublisher< TAuthenticationToken >
void Publish< TCommand > (TCommand command)
 Publishes the provided command on the command bus. More...
 
void Publish< TCommand > (IEnumerable< TCommand > commands)
 Publishes the provided commands on the command bus. More...
 

Detailed Description

Sends an ICommand<TAuthenticationToken>

Template Parameters
TAuthenticationToken