ServiceCollectionExtensions Clase

Definición

Precaución

Use CloudAdapter with ConfigurationBotFrameworkAuthentication instead to configure bot runtime.

Un conjunto de métodos IServiceCollection de extensión que ofrecen soporte para alojar bots con .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
Herencia
ServiceCollectionExtensions
Atributos

Métodos

Nombre Description
AddBot<TBot>(IServiceCollection, Action<BotFrameworkOptions>)
Obsoletos.

Añade y opcionalmente configura un TBot a en el IServiceCollectionarchivo .

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

Añade y opcionalmente configura un TBot a en el IServiceCollectionarchivo .

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

Añade y configura opcionalmente una instancia singleton bot a la IServiceCollection.

AddBotFrameworkAdapterIntegration(IServiceCollection, Action<BotFrameworkOptions>)
Obsoletos.

Añade el BotFrameworkAdapter as, IAdapterIntegration que será utilizado por la capa de integración para procesar las solicitudes de bots.

Se aplica a

Consulte también