Table of Contents

Class GemFireServiceCollectionExtensions

Namespace
Steeltoe.CloudFoundry.Connector.GemFire
Assembly
Steeltoe.CloudFoundry.ConnectorCore.dll
public static class GemFireServiceCollectionExtensions
Inheritance
GemFireServiceCollectionExtensions
Inherited Members

Methods

AddGemFireConnection(IServiceCollection, IConfiguration, Type, string, ServiceLifetime, ILoggerFactory)

Add GemFire to a ServiceCollection

public static IServiceCollection AddGemFireConnection(this IServiceCollection services, IConfiguration config, Type authInitializer, string serviceName = null, ServiceLifetime contextLifetime = ServiceLifetime.Singleton, ILoggerFactory loggerFactory = null)

Parameters

services IServiceCollection

Service collection to add to

config IConfiguration

App configuration

authInitializer Type

Your class that implements Apache.Geode.Client.IAuthInitializer

serviceName string

Cloud Foundry service binding's name

contextLifetime ServiceLifetime

Lifetime of the service to inject

loggerFactory ILoggerFactory

logger factory

Returns

IServiceCollection

IServiceCollection for chaining