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
|
Edit this page
View Source
EventEnvelope(Offset, string, long, object)
Declaration
[Obsolete("For binary compatibility with previous releases. Since 1.4.14")]
public EventEnvelope(Offset offset, string persistenceId, long sequenceNr, object @event)
Parameters
|
Edit this page
View Source
EventEnvelope(Offset, string, long, object, long)
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
|
Edit this page
View Source
EventEnvelope(Offset, string, long, object, long, string[])
Declaration
public EventEnvelope(Offset offset, string persistenceId, long sequenceNr, object @event, long timestamp, string[] tags)
Parameters
Properties
|
Edit this page
View Source
Event
Declaration
public object Event { get; }
Property Value
|
Edit this page
View Source
Offset
Declaration
public Offset Offset { get; }
Property Value
|
Edit this page
View Source
PersistenceId
Declaration
public string PersistenceId { get; }
Property Value
|
Edit this page
View Source
SequenceNr
Declaration
public long SequenceNr { get; }
Property Value
|
Edit this page
View Source
Declaration
public string[] Tags { get; }
Property Value
|
Edit this page
View Source
Timestamp
Declaration
public long Timestamp { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(EventEnvelope?)
Declaration
public bool Equals(EventEnvelope? other)
Parameters
Returns
|
Edit this page
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods