Class TestCommand
A Test ICommand<TAuthenticationToken>.
Inheritance
System.Object
TestCommand
Namespace: Cqrs.Azure.ServiceBus.Tests.Unit
Assembly: Cqrs.Azure.ServiceBus.Tests.Unit.dll
Syntax
public class TestCommand : object, ICommand<Guid>, IMessageWithAuthenticationToken<Guid>, IMessage
Properties
AuthenticationToken
The authentication token of the entity that triggered the event to be raised.
Declaration
public Guid AuthenticationToken { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Implements
CorrelationId
An identifier used to group together several IMessage. Any IMessage with the same CorrelationId were triggered by the same initiating request.
Declaration
public Guid CorrelationId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
ExpectedVersion
The expected version number.
Declaration
public int ExpectedVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Implements
Frameworks
The frameworks this IMessage has been delivered to/sent via already.
Declaration
public IEnumerable<string> Frameworks { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<System.String> |
Id
The identifier of the command itself.
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid |
OriginatingFramework
The originating framework this message was sent from.
Declaration
public string OriginatingFramework { get; set; }
Property Value
Type | Description |
---|---|
System.String |