Show / Hide Table of Contents

    Interface ICommandPublisher<TAuthenticationToken>

    Publishes an ICommand<TAuthenticationToken>

    Namespace: Cqrs.Commands
    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
    Back to top Copyright © 2015-2017 Microsoft
    Generated by DocFX