Idioma

ServiceCollectionExtensions Classe

Definição

Atenção

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

Name Descrição
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 pedidos de bots.

Aplica-se a

Ver também