ServiceCollectionExtensions Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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 |
AddBot<TBot>(IServiceCollection, Func<IServiceProvider,TBot>, Action<BotFrameworkOptions>) |
Obsoleti.
Aggiunge e facoltativamente configura un |
AddBot<TBot>(IServiceCollection, TBot, Action<BotFrameworkOptions>) |
Obsoleti.
Aggiunge e facoltativamente configura un'istanza singleton |
AddBotFrameworkAdapterIntegration(IServiceCollection, Action<BotFrameworkOptions>) |
Obsoleti.
Aggiunge come oggetto BotFrameworkAdapter che IAdapterIntegration verrà usato dal livello di integrazione per l'elaborazione delle richieste del bot. |