共用方式為


ServiceCollectionExtensions.AddRequiredPredictionEnginePoolServices 方法

定義

只將 所需的組態服務 PredictionEnginePool<TData,TPrediction> 加入至服務集合。

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequiredPredictionEnginePoolServices (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddRequiredPredictionEnginePoolServices : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRequiredPredictionEnginePoolServices (services As IServiceCollection) As IServiceCollection

參數

services
IServiceCollection

要新增服務的 IServiceCollection

傳回

完成作業之後,這個執行個體的參考。

適用於