Lingua

ServiceCollectionExtensions Classe

Definizione

Attenzione

Use CloudAdapter with ConfigurationBotFrameworkAuthentication instead to configure bot runtime.

Un insieme di metodi IServiceCollection di estensione che forniscono 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

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

Aggiunge e configura opzionalmente un TBot al IServiceCollection.

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

Aggiunge e configura opzionalmente un TBot al IServiceCollection.

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

Aggiunge e configura opzionalmente un'istanza singleton bot al IServiceCollection.

AddBotFrameworkAdapterIntegration(IServiceCollection, Action<BotFrameworkOptions>)
Obsoleti.

Aggiunge l'as BotFrameworkAdapterIAdapterIntegration che sarà usato dal livello di integrazione per l'elaborazione delle richieste dei bot.

Si applica a

Vedi anche