Interface ICommandSender<TAuthenticationToken>
Assembly: Cqrs.dll
Syntax
[Obsolete("Replaced by ICommandPublisher<TAuthenticationToken>")]
public interface ICommandSender<TAuthenticationToken> : ICommandPublisher<TAuthenticationToken>
Type Parameters
Name |
Description |
TAuthenticationToken |
The System.Type of the authentication token.
|
Methods
Send<TCommand>(TCommand)
Publishes the provided command
on the command bus.
Declaration
[Obsolete("Replaced by ICommandPublisher<TAuthenticationToken>.Publish(TCommand)")]
void Send<TCommand>(TCommand command)where TCommand : ICommand<TAuthenticationToken>
Parameters
Type |
Name |
Description |
TCommand |
command |
|
Type Parameters
Name |
Description |
TCommand |
|
Send<TCommand>(IEnumerable<TCommand>)
Publishes the provided commands
on the command bus.
Declaration
[Obsolete("Replaced by ICommandPublisher<TAuthenticationToken>.Publish(IEnumerable<TCommand>)")]
void Send<TCommand>(IEnumerable<TCommand> commands)where TCommand : ICommand<TAuthenticationToken>
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<TCommand> |
commands |
|
Type Parameters
Name |
Description |
TCommand |
|