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