Class EventEnvelope
Event wrapper adding meta data for the events in the result stream of
IEventsByTagQuery query, or similar queries.
The Timestamp is the time the event was stored, in ticks. The value of this property
represents the number of 100-nanosecond intervals that have elapsed since 12:00:00 midnight, January 1, 0001
in the Gregorian calendar (same as DateTime.Now.Ticks
).
Inheritance
EventEnvelope
Assembly: Akka.Persistence.Query.dll
Syntax
public sealed class EventEnvelope : IEquatable<EventEnvelope>
Constructors
|
Improve this Doc
View Source
EventEnvelope(Offset, String, Int64, Object)
Declaration
[Obsolete("For binary compatibility with previous releases. Since 1.4.14")]
public EventEnvelope(Offset offset, string persistenceId, long sequenceNr, object event)
Parameters
|
Improve this Doc
View Source
EventEnvelope(Offset, String, Int64, Object, Int64)
Declaration
[Obsolete("For binary compatibility with previous releases. Since 1.5.11")]
public EventEnvelope(Offset offset, string persistenceId, long sequenceNr, object event, long timestamp)
Parameters
|
Improve this Doc
View Source
EventEnvelope(Offset, String, Int64, Object, Int64, String[])
Declaration
public EventEnvelope(Offset offset, string persistenceId, long sequenceNr, object event, long timestamp, string[] tags)
Parameters
Properties
|
Improve this Doc
View Source
Event
Declaration
public object Event { get; }
Property Value
|
Improve this Doc
View Source
Offset
Declaration
public Offset Offset { get; }
Property Value
|
Improve this Doc
View Source
PersistenceId
Declaration
public string PersistenceId { get; }
Property Value
|
Improve this Doc
View Source
SequenceNr
Declaration
public long SequenceNr { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public string[] Tags { get; }
Property Value
|
Improve this Doc
View Source
Timestamp
Declaration
public long Timestamp { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(EventEnvelope)
Declaration
public bool Equals(EventEnvelope other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods