Class VersionedEvent
Represents an versioned event message.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: IRM.Messaging
Assembly: IRM.dll
Syntax
public abstract class VersionedEvent : Event, IVersionedEvent, IEvent, Message, ISupportMultitenant
Constructors
VersionedEvent()
VersionedEvent(DateTime)
Initializes a new instance of the VersionedEvent class.
Declaration
protected VersionedEvent(DateTime occured)
Parameters
System.DateTime
occured
The System.DateTime when the event is published. |
Remarks
Set occured
to a time in the future to delay when it will be published.
Properties
Version
Gets or sets the version number of the aggregate.
Declaration
public int Version { get; set; }
Property Value
System.Int32
The version number of the aggregate. |