Interface ICommandPublisher<TAuthenticationToken>
Assembly: Cqrs.dll
Syntax
public interface ICommandPublisher<TAuthenticationToken>
Type Parameters
Name |
Description |
TAuthenticationToken |
|
Methods
Publish<TCommand>(TCommand)
Publishes the provided command
on the command bus.
Declaration
void Publish<TCommand>(TCommand command)where TCommand : ICommand<TAuthenticationToken>
Parameters
Type |
Name |
Description |
TCommand |
command |
|
Type Parameters
Name |
Description |
TCommand |
|
Publish<TCommand>(IEnumerable<TCommand>)
Publishes the provided commands
on the command bus.
Declaration
void Publish<TCommand>(IEnumerable<TCommand> commands)where TCommand : ICommand<TAuthenticationToken>
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<TCommand> |
commands |
|
Type Parameters
Name |
Description |
TCommand |
|