Show / Hide Table of Contents

    Class SilverbackBuilderAddDbDistributedLockManagerExtensions

    Adds the AddDbDistributedLockManager method to the ISilverbackBuilder.

    Inheritance
    object
    SilverbackBuilderAddDbDistributedLockManagerExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Microsoft.Extensions.DependencyInjection
    Assembly: Silverback.Core.dll
    Syntax
    public static class SilverbackBuilderAddDbDistributedLockManagerExtensions

    Methods

    | Improve this doc View source

    AddDbDistributedLockManager(ISilverbackBuilder)

    Adds the IDistributedLockManager implementation and uses the specified DbContext to handle the distributed locks.

    Declaration
    public static ISilverbackBuilder AddDbDistributedLockManager(this ISilverbackBuilder builder)
    Parameters
    Type Name Description
    ISilverbackBuilder builder

    The ISilverbackBuilder to add the model types to.

    Returns
    Type Description
    ISilverbackBuilder

    The ISilverbackBuilder so that additional calls can be chained.

    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini