Interface IDomainEvent
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.EventSourcing
Assembly: Cephalon.Abstractions.dll
Represents one immutable domain event stored in an append-only stream.
public interface IDomainEventProperties
Section titled “Properties”OccurredAtUtc
Section titled “ OccurredAtUtc”Gets the time at which the event occurred in UTC.
DateTime OccurredAtUtc { get; }Property Value
Section titled “Property Value”StreamId
Section titled “ StreamId”Gets the stable stream identifier that owns the event.
string StreamId { get; }Property Value
Section titled “Property Value”StreamVersion
Section titled “ StreamVersion”Gets the optimistic stream version assigned to the event.
long StreamVersion { get; }