Table of Contents

Method AddTimeSeriesRunner

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

AddTimeSeriesRunner<TResult>(IServiceCollection)

Adds a runner factory to the application's DI container for TimeSeriesRunner<TResult>.

public static IServiceCollection AddTimeSeriesRunner<TResult>(this IServiceCollection Services)

Parameters

Services IServiceCollection

IServiceCollection implementation to be used to configure an application service container

Returns

IServiceCollection

Value of the Services param, this value is used to facilitate call chaining.

Type Parameters

TResult

A type of the value part of the tuples making up the returned time series

Remarks

AddTimeSeriesRunner<TResult>(IServiceCollection, Action<ActiveSessionOptions>?)

Adds a runner factory to the application's DI container for TimeSeriesRunner<TResult>.

public static IServiceCollection AddTimeSeriesRunner<TResult>(this IServiceCollection Services, Action<ActiveSessionOptions>? Configurator)

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 library features. May be null, if no additional configuraion to be performed

Returns

IServiceCollection

Value of the Services param, this value is used to facilitate call chaining.

Type Parameters

TResult

A type of the value part of the tuples making up the returned time series

Remarks