ServiceCollectionExtensions.AddPredictionEnginePool Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
AddPredictionEnginePool<TData,TPrediction>(IServiceCollection) |
Ajoute des PredictionEnginePool<TData,TPrediction> services de configuration et des services de configuration requis à la collection de services. |
AddPredictionEnginePool<TData,TPrediction>(IServiceCollection, Func<IServiceProvider,PredictionEnginePool<TData,TPrediction>>) |
Ajoute des PredictionEnginePool<TData,TPrediction> services de configuration et des services de configuration requis à la collection de services. |
AddPredictionEnginePool<TData,TPrediction>(IServiceCollection)
Ajoute des PredictionEnginePool<TData,TPrediction> services de configuration et des services de configuration requis à la collection de services.
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)
Paramètres de type
- TData
- TPrediction
Paramètres
- services
- IServiceCollection
IServiceCollection auquel ajouter les services.
Retours
PredictionEnginePoolBuilder<TData,TPrediction> ajouté à la collection.
S’applique à
AddPredictionEnginePool<TData,TPrediction>(IServiceCollection, Func<IServiceProvider,PredictionEnginePool<TData,TPrediction>>)
Ajoute des PredictionEnginePool<TData,TPrediction> services de configuration et des services de configuration requis à la collection de services.
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)
Paramètres de type
- TData
- TPrediction
Paramètres
- services
- IServiceCollection
IServiceCollection auquel ajouter les services.
- implementationFactory
- Func<IServiceProvider,PredictionEnginePool<TData,TPrediction>>
Fabrique qui crée le PredictionEnginePoolBuilder<TData,TPrediction>.
Retours
PredictionEnginePoolBuilder<TData,TPrediction> ajouté à la collection.