Idioma

ServiceCollectionExtensions Classe

Definição

Cuidado

Use CloudAdapter with ConfigurationBotFrameworkAuthentication instead to configure bot runtime.

Um conjunto de métodos IServiceCollection de extensão que fornecem suporte para hospedagem de bots com .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
Herança
ServiceCollectionExtensions
Atributos

Métodos

Nome Description
AddBot<TBot>(IServiceCollection, Action<BotFrameworkOptions>)
Obsoleto.

Adiciona e configura opcionalmente um TBot ao IServiceCollection.

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

Adiciona e configura opcionalmente um TBot ao IServiceCollection.

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

Adiciona e configura opcionalmente uma instância singleton bot ao IServiceCollection.

AddBotFrameworkAdapterIntegration(IServiceCollection, Action<BotFrameworkOptions>)
Obsoleto.

Adiciona o BotFrameworkAdapter as, IAdapterIntegration que será usado pela camada de integração para processar requisições de bots.

Aplica-se a

Confira também