Class DuplicateCreateCommandEvent<TAuthenticationToken>
An IEvent<TAuthenticationToken> that informs the system that an operation resulted in a duplicate.
Inheritance
Inherited Members
Namespace: Cqrs.Events
Assembly: Cqrs.dll
Syntax
[Serializable]
[DataContract]
public class DuplicateCreateCommandEvent<TAuthenticationToken> : IEvent<TAuthenticationToken>, IMessageWithAuthenticationToken<TAuthenticationToken>, IMessage
Type Parameters
Name | Description |
---|---|
TAuthenticationToken |
Properties
AggregateRsn
The identifier of the IAggregateRoot<TAuthenticationToken> that already exists, but had another Created event raised.
Declaration
[DataMember]
public Guid AggregateRsn { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
AggregateType
The System.Type of IAggregateRoot<TAuthenticationToken> that already exists, but had another Created event raised.
Declaration
[DataMember]
public Type AggregateType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
AuthenticationToken
The TAuthenticationToken
of the entity that triggered the event to be raised.
Declaration
[DataMember]
public TAuthenticationToken AuthenticationToken { get; set; }
Property Value
Type | Description |
---|---|
TAuthenticationToken |
Implements
CorrelationId
An identifier used to group together several IMessage. Any IMessage with the same CorrelationId were triggered by the same initiating request.
Declaration
[DataMember]
public Guid CorrelationId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Implements
Frameworks
The frameworks this IMessage has been delivered to/sent via already.
Declaration
[DataMember]
public IEnumerable<string> Frameworks { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Implements
Id
The identifier of the command itself. In some cases this may be the IAggregateRoot<TAuthenticationToken> or ISaga<TAuthenticationToken> this command targets.
Declaration
[DataMember]
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Implements
OriginatingFramework
The originating framework this message was sent from.
Declaration
[DataMember]
public string OriginatingFramework { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Implements
TimeStamp
The date and time the event was raised or published.
Declaration
[DataMember]
public DateTimeOffset TimeStamp { get; set; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset |
Implements
Version
The new version number the targeted IAggregateRoot<TAuthenticationToken> or ISaga<TAuthenticationToken> that raised this.
Declaration
[DataMember]
public int Version { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |