Share via


ServiceCollectionExtensions Class

Definition

Extension methods for IServiceCollection.

public static class ServiceCollectionExtensions
type ServiceCollectionExtensions = class
Public Module ServiceCollectionExtensions
Inheritance
ServiceCollectionExtensions

Methods

AddPredictionEnginePool<TData,TPrediction>(IServiceCollection, Func<IServiceProvider,PredictionEnginePool<TData,TPrediction>>)

Adds a PredictionEnginePool<TData,TPrediction> and required config services to the service collection.

AddPredictionEnginePool<TData,TPrediction>(IServiceCollection)

Adds a PredictionEnginePool<TData,TPrediction> and required config services to the service collection.

AddRequiredPredictionEnginePoolServices(IServiceCollection)

Adds only the required config services for PredictionEnginePool<TData,TPrediction> to the service collection.

Applies to