Taal

ServiceCollectionExtensions Klas

Definitie

Let op

Use CloudAdapter with ConfigurationBotFrameworkAuthentication instead to configure bot runtime.

Een set extensiemethoden waarvoor IServiceCollection ondersteuning biedt voor het hosten van bots met .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
Overname
ServiceCollectionExtensions
Kenmerken

Methoden

Name Description
AddBot<TBot>(IServiceCollection, Action<BotFrameworkOptions>)
Verouderd.

Voegt a toe en configureert optioneel een TBot aan de IServiceCollection.

AddBot<TBot>(IServiceCollection, Func<IServiceProvider,TBot>, Action<BotFrameworkOptions>)
Verouderd.

Voegt a toe en configureert optioneel een TBot aan de IServiceCollection.

AddBot<TBot>(IServiceCollection, TBot, Action<BotFrameworkOptions>)
Verouderd.

Voegt een singleton-instantie toe en configureert optioneel een singleton-instantie bot aan de IServiceCollection.

AddBotFrameworkAdapterIntegration(IServiceCollection, Action<BotFrameworkOptions>)
Verouderd.

Voegt de BotFrameworkAdapter toe als de IAdapterIntegration die door de integratielaag wordt gebruikt voor het verwerken van botverzoeken.

Van toepassing op

Zie ook