ServiceCollectionExtensions.AddPredictionEnginePool Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddPredictionEnginePool<TData,TPrediction>(IServiceCollection) |
Adiciona um PredictionEnginePool<TData,TPrediction> e necessários serviços de configuração à coleção de serviços. |
AddPredictionEnginePool<TData,TPrediction>(IServiceCollection, Func<IServiceProvider,PredictionEnginePool<TData,TPrediction>>) |
Adiciona um PredictionEnginePool<TData,TPrediction> e necessários serviços de configuração à coleção de serviços. |
AddPredictionEnginePool<TData,TPrediction>(IServiceCollection)
Adiciona um PredictionEnginePool<TData,TPrediction> e necessários serviços de configuração à coleção de serviços.
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> AddPredictionEnginePool<TData,TPrediction> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TData : class where TPrediction : class, new();
static member AddPredictionEnginePool : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))
<Extension()>
Public Function AddPredictionEnginePool(Of TData As Class, TPrediction As Class) (services As IServiceCollection) As PredictionEnginePoolBuilder(Of TData, TPrediction)
Parâmetros de tipo
- TData
- TPrediction
Parâmetros
- services
- IServiceCollection
O IServiceCollection ao qual adicionar serviços.
Retornos
O PredictionEnginePoolBuilder<TData,TPrediction> adicionado à coleção.
Aplica-se a
AddPredictionEnginePool<TData,TPrediction>(IServiceCollection, Func<IServiceProvider,PredictionEnginePool<TData,TPrediction>>)
Adiciona um PredictionEnginePool<TData,TPrediction> e necessários serviços de configuração à coleção de serviços.
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> AddPredictionEnginePool<TData,TPrediction> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Func<IServiceProvider,Microsoft.Extensions.ML.PredictionEnginePool<TData,TPrediction>> implementationFactory) where TData : class where TPrediction : class, new();
static member AddPredictionEnginePool : Microsoft.Extensions.DependencyInjection.IServiceCollection * Func<IServiceProvider, Microsoft.Extensions.ML.PredictionEnginePool<'Data, 'Prediction>> -> Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))
<Extension()>
Public Function AddPredictionEnginePool(Of TData As Class, TPrediction As Class) (services As IServiceCollection, implementationFactory As Func(Of IServiceProvider, PredictionEnginePool(Of TData, TPrediction))) As PredictionEnginePoolBuilder(Of TData, TPrediction)
Parâmetros de tipo
- TData
- TPrediction
Parâmetros
- services
- IServiceCollection
O IServiceCollection ao qual adicionar serviços.
- implementationFactory
- Func<IServiceProvider,PredictionEnginePool<TData,TPrediction>>
A fábrica que cria o PredictionEnginePoolBuilder<TData,TPrediction>.
Retornos
O PredictionEnginePoolBuilder<TData,TPrediction> adicionado à coleção.