Class SilverbackBuilderAddDbDistributedLockManagerExtensions
Adds the AddDbDistributedLockManager
method to the ISilverbackBuilder.
Inherited Members
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Silverback.Core.dll
Syntax
public static class SilverbackBuilderAddDbDistributedLockManagerExtensions
Methods
| Improve this doc View sourceAddDbDistributedLockManager(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. |