Search Results for

    Show / Hide Table of Contents

    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
    object
    EventEnvelope
    Implements
    IEquatable<EventEnvelope>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Persistence.Query
    Assembly: Akka.Persistence.Query.dll
    Syntax
    public sealed class EventEnvelope : IEquatable<EventEnvelope>

    Constructors

    | Edit this page View Source

    EventEnvelope(Offset, string, long, object)

    Initializes a new instance of the EventEnvelope class.

    Declaration
    [Obsolete("For binary compatibility with previous releases. Since 1.4.14")]
    public EventEnvelope(Offset offset, string persistenceId, long sequenceNr, object @event)
    Parameters
    Type Name Description
    Offset offset
    string persistenceId
    long sequenceNr
    object event
    | Edit this page View Source

    EventEnvelope(Offset, string, long, object, long)

    Initializes a new instance of the EventEnvelope class.

    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
    Type Name Description
    Offset offset
    string persistenceId
    long sequenceNr
    object event
    long timestamp
    | 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
    Type Name Description
    Offset offset
    string persistenceId
    long sequenceNr
    object event
    long timestamp
    string[] tags

    Properties

    | Edit this page View Source

    Event

    Declaration
    public object Event { get; }
    Property Value
    Type Description
    object
    | Edit this page View Source

    Offset

    Declaration
    public Offset Offset { get; }
    Property Value
    Type Description
    Offset
    | Edit this page View Source

    PersistenceId

    Declaration
    public string PersistenceId { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    SequenceNr

    Declaration
    public long SequenceNr { get; }
    Property Value
    Type Description
    long
    | Edit this page View Source

    Tags

    Declaration
    public string[] Tags { get; }
    Property Value
    Type Description
    string[]
    | Edit this page View Source

    Timestamp

    Declaration
    public long Timestamp { get; }
    Property Value
    Type Description
    long

    Methods

    | Edit this page View Source

    Equals(EventEnvelope?)

    Declaration
    public bool Equals(EventEnvelope? other)
    Parameters
    Type Name Description
    EventEnvelope other
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    IEquatable<T>

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET