Class RaftClusterConfigurator
Allows to setup special service used for configuration of
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.AspNetCore.Cluster.dll
Syntax
public static class RaftClusterConfigurator : object
Methods
| Improve this Doc View SourceConfigureCluster<TConfig>(IServiceCollection)
Registers configurator of
Declaration
public static IServiceCollection ConfigureCluster<TConfig>(this IServiceCollection services)
where TConfig : class, IRaftClusterConfigurator
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | services | A collection of services provided by DI container. |
Returns
| Type | Description |
|---|---|
| IServiceCollection | A collection of services provided by DI container. |
Type Parameters
| Name | Description |
|---|---|
| TConfig | The type implementing IRaftClusterConfigurator. |