Table of Contents

Method AddActiveSessionInfrastructure

Namespace
MVVrus.AspNetCore.ActiveSession
Assembly
MVVrus.AspNetCore.ActiveSession.dll

AddActiveSessionInfrastructure(IServiceCollection, Action<ActiveSessionOptions>?)

Add infrastructure services for the ActiveSession fearure and optionally configure the feature

public static IServiceCollection AddActiveSessionInfrastructure(this IServiceCollection Services, Action<ActiveSessionOptions>? Configurator = null)

Parameters

Services IServiceCollection

IServiceCollection implementation to be used to configure an application service container

Configurator Action<ActiveSessionOptions>

The delegate used to configure additional options (of type ActiveSessionOptions) for the ActiveSession feature May be null, if no additional configuraion to be performed

Returns

IServiceCollection

Value of the Services param, used to facilitate call chaining