Search Results for

    Show / Hide Table of Contents

    Class PersistentFSM.PersistentFSMSnapshot<TD>

    FSM state and data snapshot

    Inheritance
    object
    PersistentFSM.PersistentFSMSnapshot<TD>
    Implements
    IMessage
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Persistence.Fsm
    Assembly: Akka.Persistence.dll
    Syntax
    public class PersistentFSM.PersistentFSMSnapshot<TD> : IMessage
    Type Parameters
    Name Description
    TD

    Constructors

    | Edit this page View Source

    PersistentFSMSnapshot(string, TD, TimeSpan?)

    Initializes a new instance of the PersistentFSM.PersistentFSMSnapshot<TD> class.

    Declaration
    public PersistentFSMSnapshot(string stateIdentifier, TD data, TimeSpan? timeout)
    Parameters
    Type Name Description
    string stateIdentifier

    FSM state identifier.

    TD data

    FSM state data

    TimeSpan? timeout

    FSM state timeout.

    Properties

    | Edit this page View Source

    Data

    FSM state data.

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

    StateIdentifier

    FSM state identifier.

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

    Timeout

    FSM state timeout.

    Declaration
    public TimeSpan? Timeout { get; }
    Property Value
    Type Description
    TimeSpan?

    Methods

    | Edit this page View Source

    Equals(PersistentFSMSnapshot<TD>)

    Declaration
    protected bool Equals(PersistentFSM.PersistentFSMSnapshot<TD> other)
    Parameters
    Type Name Description
    PersistentFSM.PersistentFSMSnapshot<TD> other
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()

    Implements

    IMessage

    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