Skip to content
ModularityKit.Mutator ModularityKit.Mutator Docs
  • Home
  • Core
  • Governance
  • Redis
  • API
Search Results for

    Show / Hide Table of Contents

    Class RedisGovernanceServiceCollectionExtensions

    Dependency injection registration for the Redis governance provider.

    Inheritance
    object
    RedisGovernanceServiceCollectionExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ModularityKit.Mutator.Governance.Redis
    Assembly: ModularityKit.Mutator.Governance.Redis.dll
    Syntax
    public static class RedisGovernanceServiceCollectionExtensions

    Methods

    | Edit this page View Source

    AddRedisGovernanceStore(IServiceCollection, IConnectionMultiplexer, Action<RedisMutationRequestStoreOptions>?)

    Registers Redis-backed governance request storage and query services.

    Declaration
    public static IServiceCollection AddRedisGovernanceStore(this IServiceCollection services, IConnectionMultiplexer connectionMultiplexer, Action<RedisMutationRequestStoreOptions>? configure = null)
    Parameters
    Type Name Description
    IServiceCollection services

    The service collection to configure.

    IConnectionMultiplexer connectionMultiplexer

    The Redis connection multiplexer used by the provider.

    Action<RedisMutationRequestStoreOptions> configure

    An optional callback for configuring provider options.

    Returns
    Type Description
    IServiceCollection

    The same service collection for chaining.

    • Edit this page
    • View Source
    In this article
    ModularityKit.Mutator Generated from XML docs and published from main. Back to top