Interface ICommandReceiver<TAuthenticationToken>
Receives instances of a ICommand<TAuthenticationToken> from the command bus.
Inherited Members
Namespace: Cqrs.Commands
Assembly: Cqrs.dll
Syntax
public interface ICommandReceiver<TAuthenticationToken> : ICommandReceiver
Type Parameters
Name | Description |
---|---|
TAuthenticationToken | The System.Type of authentication token. |
Methods
ReceiveCommand(ICommand<TAuthenticationToken>)
Receives a ICommand<TAuthenticationToken> from the command bus.
Declaration
bool ? ReceiveCommand(ICommand<TAuthenticationToken> command)
Parameters
Type | Name | Description |
---|---|---|
ICommand<TAuthenticationToken> | command |
Returns
Type | Description |
---|---|
System.Nullable<System.Boolean> |