Class TestCommandPublisher
Inheritance
System.Object
TestCommandPublisher
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.Tests.Substitutes
Assembly: Cqrs.Tests.dll
Syntax
public class TestCommandPublisher : ICommandPublisher<ISingleSignOnToken>
Constructors
TestCommandPublisher()
Declaration
public TestCommandPublisher()
Properties
Published
Declaration
public int Published { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
PublishedCommands
Declaration
public List<ICommand<ISingleSignOnToken>> PublishedCommands { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ICommand<ISingleSignOnToken>> |
Methods
Publish<TCommand>(TCommand)
Declaration
public void Publish<TCommand>(TCommand command)where TCommand : ICommand<ISingleSignOnToken>
Parameters
Type | Name | Description |
---|---|---|
TCommand | command |
Type Parameters
Name | Description |
---|---|
TCommand |
Implements
Publish<TCommand>(IEnumerable<TCommand>)
Declaration
public void Publish<TCommand>(IEnumerable<TCommand> commands)where TCommand : ICommand<ISingleSignOnToken>
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<TCommand> | commands |
Type Parameters
Name | Description |
---|---|
TCommand |