Search Results for

    Show / Hide Table of Contents

    Struct SubscriberIDRestorationParams<TStorageRecord>

    parameters to use in finding subscriber IDs to restore

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: FastEndpoints
    Assembly: FastEndpoints.Messaging.Remote.dll
    Syntax
    public struct SubscriberIDRestorationParams<TStorageRecord> where TStorageRecord : IEventStorageRecord
    Type Parameters
    Name Description
    TStorageRecord

    the type of event storage record

    Properties

    CancellationToken

    a cancellation token

    Declaration
    public readonly CancellationToken CancellationToken { get; }
    Property Value
    Type Description
    CancellationToken

    EventType

    the type name of the events to search for which correlates to EventType

    Declaration
    public readonly string EventType { get; }
    Property Value
    Type Description
    string

    Match

    a boolean lambda expression to match pending records.

    r => r.EventType == "xxx" && !r.IsComplete && DateTime.UtcNow <= r.ExpireOn)
    Declaration
    public readonly Expression<Func<TStorageRecord, bool>> Match { get; }
    Property Value
    Type Description
    Expression<Func<TStorageRecord, bool>>

    Projection

    member expression to select/project the UNIQUE SubscriberID values.

    e => e.SubscriberID
    Declaration
    public readonly Expression<Func<TStorageRecord, string>> Projection { get; }
    Property Value
    Type Description
    Expression<Func<TStorageRecord, string>>
    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX