Search Results for

    Show / Hide Table of Contents

    Class SnapshotStoreInterceptors.OnCondition

    Inheritance
    object
    SnapshotStoreInterceptors.OnCondition
    Implements
    ISnapshotStoreInterceptor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Persistence.TestKit
    Assembly: Akka.Persistence.TestKit.dll
    Syntax
    public sealed class SnapshotStoreInterceptors.OnCondition : ISnapshotStoreInterceptor

    Constructors

    | Edit this page View Source

    OnCondition(Func<string, SnapshotSelectionCriteria, bool>, ISnapshotStoreInterceptor, bool)

    Declaration
    public OnCondition(Func<string, SnapshotSelectionCriteria, bool> predicate, ISnapshotStoreInterceptor next, bool negate = false)
    Parameters
    Type Name Description
    Func<string, SnapshotSelectionCriteria, bool> predicate
    ISnapshotStoreInterceptor next
    bool negate
    | Edit this page View Source

    OnCondition(Func<string, SnapshotSelectionCriteria, Task<bool>>, ISnapshotStoreInterceptor, bool)

    Declaration
    public OnCondition(Func<string, SnapshotSelectionCriteria, Task<bool>> predicate, ISnapshotStoreInterceptor next, bool negate = false)
    Parameters
    Type Name Description
    Func<string, SnapshotSelectionCriteria, Task<bool>> predicate
    ISnapshotStoreInterceptor next
    bool negate

    Methods

    | Edit this page View Source

    InterceptAsync(string, SnapshotSelectionCriteria)

    Method will be called for each load, save or delete attempt in TestSnapshotStore.

    Declaration
    public Task InterceptAsync(string persistenceId, SnapshotSelectionCriteria criteria)
    Parameters
    Type Name Description
    string persistenceId
    SnapshotSelectionCriteria criteria
    Returns
    Type Description
    Task

    Implements

    ISnapshotStoreInterceptor

    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