Share via


BotComponent.ConfigureServices(IServiceCollection, IConfiguration) Method

Definition

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.

Applies to