Show / Hide Table of Contents

Class RaftClusterConfigurator

Allows to setup special service used for configuration of instance.

Inheritance
Object
RaftClusterConfigurator
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.AspNetCore.Cluster.dll
Syntax
[CLSCompliant(false)]
public static class RaftClusterConfigurator

Methods

| Improve this Doc View Source

ConfigureCluster<TConfig>(IServiceCollection)

Registers configurator of service registered as a service in DI container.

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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX