Table of Contents

Class IgniteServiceCollectionExtensions

Namespace
Apache.Ignite
Assembly
Apache.Ignite.dll

Extension methods for setting up Apache Ignite services in an IServiceCollection.

public static class IgniteServiceCollectionExtensions
Inheritance
IgniteServiceCollectionExtensions
Inherited Members

Methods

AddIgniteClientGroup(IServiceCollection, IgniteClientGroupConfiguration, ServiceLifetime)

Registers an IgniteClientGroup.

public static IServiceCollection AddIgniteClientGroup(this IServiceCollection services, IgniteClientGroupConfiguration configuration, ServiceLifetime clientGroupLifetime = ServiceLifetime.Singleton)

Parameters

services IServiceCollection

The IServiceCollection to add services to.

configuration IgniteClientGroupConfiguration

IgniteClientGroupConfiguration instance.

clientGroupLifetime ServiceLifetime

The lifetime with which to register the IgniteClientGroup service in the container. Defaults to Singleton.

Returns

IServiceCollection

Original service collection to chain multiple calls.

AddIgniteClientGroup(IServiceCollection, Func<IServiceProvider, IgniteClientGroupConfiguration>, ServiceLifetime)

Registers an IgniteClientGroup.

public static IServiceCollection AddIgniteClientGroup(this IServiceCollection services, Func<IServiceProvider, IgniteClientGroupConfiguration> configure, ServiceLifetime clientGroupLifetime = ServiceLifetime.Singleton)

Parameters

services IServiceCollection

The IServiceCollection to add services to.

configure Func<IServiceProvider, IgniteClientGroupConfiguration>

Function to build the IgniteClientGroupConfiguration.

clientGroupLifetime ServiceLifetime

The lifetime with which to register the IgniteClientGroup service in the container. Defaults to Singleton.

Returns

IServiceCollection

Original service collection to chain multiple calls.

AddIgniteClientGroupKeyed(IServiceCollection, object?, IgniteClientGroupConfiguration, ServiceLifetime)

Registers an IgniteClientGroup.

public static IServiceCollection AddIgniteClientGroupKeyed(this IServiceCollection services, object? serviceKey, IgniteClientGroupConfiguration configuration, ServiceLifetime clientGroupLifetime = ServiceLifetime.Singleton)

Parameters

services IServiceCollection

The IServiceCollection to add services to.

serviceKey object

The ServiceKey of the client group.

configuration IgniteClientGroupConfiguration

IgniteClientGroupConfiguration instance.

clientGroupLifetime ServiceLifetime

The lifetime with which to register the IgniteClientGroup service in the container. Defaults to Singleton.

Returns

IServiceCollection

Original service collection to chain multiple calls.

AddIgniteClientGroupKeyed(IServiceCollection, object?, Func<IServiceProvider, IgniteClientGroupConfiguration>, ServiceLifetime)

Registers an IgniteClientGroup.

public static IServiceCollection AddIgniteClientGroupKeyed(this IServiceCollection services, object? serviceKey, Func<IServiceProvider, IgniteClientGroupConfiguration> configure, ServiceLifetime clientGroupLifetime = ServiceLifetime.Singleton)

Parameters

services IServiceCollection

The IServiceCollection to add services to.

serviceKey object

The ServiceKey of the client group.

configure Func<IServiceProvider, IgniteClientGroupConfiguration>

Function to build the IgniteClientGroupConfiguration.

clientGroupLifetime ServiceLifetime

The lifetime with which to register the IgniteClientGroup service in the container. Defaults to Singleton.

Returns

IServiceCollection

Original service collection to chain multiple calls.

AddIgniteClientGroupKeyed(IServiceCollection, object?, Func<IServiceProvider, object?, IgniteClientGroupConfiguration>, ServiceLifetime)

Registers an IgniteClientGroup.

public static IServiceCollection AddIgniteClientGroupKeyed(this IServiceCollection services, object? serviceKey, Func<IServiceProvider, object?, IgniteClientGroupConfiguration> configure, ServiceLifetime clientGroupLifetime = ServiceLifetime.Singleton)

Parameters

services IServiceCollection

The IServiceCollection to add services to.

serviceKey object

The ServiceKey of the client group.

configure Func<IServiceProvider, object, IgniteClientGroupConfiguration>

Function to build the IgniteClientGroupConfiguration.

clientGroupLifetime ServiceLifetime

The lifetime with which to register the IgniteClientGroup service in the container. Defaults to Singleton.

Returns

IServiceCollection

Original service collection to chain multiple calls.