ServiceCollectionExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use CloudAdapter
with ConfigurationBotFrameworkAuthentication
instead to configure bot runtime.
A set of extension methods for IServiceCollection which provide support for hosting bots with .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
- Inheritance
-
ServiceCollectionExtensions
- Attributes
Methods
AddBot<TBot>(IServiceCollection, Action<BotFrameworkOptions>) |
Adds and optionally configures a |
AddBot<TBot>(IServiceCollection, Func<IServiceProvider,TBot>, Action<BotFrameworkOptions>) |
Adds and optionally configures a |
AddBot<TBot>(IServiceCollection, TBot, Action<BotFrameworkOptions>) |
Adds and optionally configures a singleton |
AddBotFrameworkAdapterIntegration(IServiceCollection, Action<BotFrameworkOptions>) |
Adds the BotFrameworkAdapter as the IAdapterIntegration which will be used by the integration layer for processing bot requests. |