DialogsBotComponent.ConfigureServices 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 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.