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.
A set of extension methods for IServiceCollection which provide support for hosting bots with .NET Core.
public static class ServiceCollectionExtensions
type ServiceCollectionExtensions = class
Public Module ServiceCollectionExtensions
- Inheritance
-
ServiceCollectionExtensions
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. |