Share via


DeclarativeBotComponent.ConfigureServices Method

Definition

Entry point for bot components to register types in resource explorer, consume configuration and register services in the services collection.

public override void ConfigureServices (Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfiguration configuration);
override this.ConfigureServices : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfiguration -> unit
Public Overrides 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