Class IgniteServiceCollectionExtensions
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
IServiceCollectionThe IServiceCollection to add services to.
configuration
IgniteClientGroupConfigurationIgniteClientGroupConfiguration instance.
clientGroupLifetime
ServiceLifetimeThe 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
IServiceCollectionThe IServiceCollection to add services to.
configure
Func<IServiceProvider, IgniteClientGroupConfiguration>Function to build the IgniteClientGroupConfiguration.
clientGroupLifetime
ServiceLifetimeThe 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
IServiceCollectionThe IServiceCollection to add services to.
serviceKey
objectThe ServiceKey of the client group.
configuration
IgniteClientGroupConfigurationIgniteClientGroupConfiguration instance.
clientGroupLifetime
ServiceLifetimeThe 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
IServiceCollectionThe IServiceCollection to add services to.
serviceKey
objectThe ServiceKey of the client group.
configure
Func<IServiceProvider, IgniteClientGroupConfiguration>Function to build the IgniteClientGroupConfiguration.
clientGroupLifetime
ServiceLifetimeThe 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
IServiceCollectionThe IServiceCollection to add services to.
serviceKey
objectThe ServiceKey of the client group.
configure
Func<IServiceProvider, object, IgniteClientGroupConfiguration>Function to build the IgniteClientGroupConfiguration.
clientGroupLifetime
ServiceLifetimeThe lifetime with which to register the IgniteClientGroup service in the container. Defaults to Singleton.
Returns
- IServiceCollection
Original service collection to chain multiple calls.