BotComponent.ConfigureServices(IServiceCollection, IConfiguration) Method
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.
Entry point for bot components to register types in resource explorer, consume configuration and register services in the services collection.
public abstract void ConfigureServices (Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfiguration configuration);
abstract member ConfigureServices : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfiguration -> unit
Public MustOverride Sub ConfigureServices (services As IServiceCollection, configuration As IConfiguration)
Parameters
- services
- IServiceCollection
Services collection to register dependency injection.
- configuration
- IConfiguration
Configuration for the bot component.