ServiceCollectionExtensions Classe

Definizione

Attenzione

Use CloudAdapter with ConfigurationBotFrameworkAuthentication instead to configure bot runtime.

Set di metodi di estensione per IServiceCollection i quali fornire supporto per l'hosting di bot 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
Ereditarietà
ServiceCollectionExtensions
Attributi

Metodi

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

Aggiunge e facoltativamente configura un TBot oggetto all'oggetto IServiceCollection.

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

Aggiunge e facoltativamente configura un TBot oggetto all'oggetto IServiceCollection.

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

Aggiunge e facoltativamente configura un'istanza singleton bot nell'oggetto IServiceCollection.

AddBotFrameworkAdapterIntegration(IServiceCollection, Action<BotFrameworkOptions>)
Obsoleti.

Aggiunge come oggetto BotFrameworkAdapter che IAdapterIntegration verrà usato dal livello di integrazione per l'elaborazione delle richieste del bot.

Si applica a

Vedi anche