Dela via


ServiceCollectionExtensions Klass

Definition

Varning

Use CloudAdapter with ConfigurationBotFrameworkAuthentication instead to configure bot runtime.

En uppsättning tilläggsmetoder som ger stöd för IServiceCollection värdrobotar med .NET Core.

[System.Obsolete("Use `CloudAdapter` with `ConfigurationBotFrameworkAuthentication` instead to configure bot runtime.", false)]
public static class ServiceCollectionExtensions
[<System.Obsolete("Use `CloudAdapter` with `ConfigurationBotFrameworkAuthentication` instead to configure bot runtime.", false)>]
type ServiceCollectionExtensions = class
Public Module ServiceCollectionExtensions
Arv
ServiceCollectionExtensions
Attribut

Metoder

AddBot<TBot>(IServiceCollection, Action<BotFrameworkOptions>)
Föråldrad.

Lägger till och konfigurerar eventuellt en TBot i IServiceCollection.

AddBot<TBot>(IServiceCollection, Func<IServiceProvider,TBot>, Action<BotFrameworkOptions>)
Föråldrad.

Lägger till och konfigurerar eventuellt en TBot i IServiceCollection.

AddBot<TBot>(IServiceCollection, TBot, Action<BotFrameworkOptions>)
Föråldrad.

Lägger till och konfigurerar en singleton-instans bot till IServiceCollection.

AddBotFrameworkAdapterIntegration(IServiceCollection, Action<BotFrameworkOptions>)
Föråldrad.

BotFrameworkAdapter Lägger till som som IAdapterIntegration används av integrationsskiktet för bearbetning av robotbegäranden.

Gäller för

Se även