Class TestEvent
A Test IEvent<TAuthenticationToken>.
Namespace: Cqrs.Azure.ServiceBus.Tests.Unit
Assembly: Cqrs.Azure.ServiceBus.Tests.Unit.dll
Syntax
public class TestEvent : Entity, IEntity, IEvent<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 |
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 event 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 |
Implements
TimeStamp
The date and time the event was raised or published.
Declaration
public DateTimeOffset TimeStamp { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
Version
The new version number.
Declaration
public int Version { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |