DeclarativeBotComponent 类

定义

注册声明性类型。

public class DeclarativeBotComponent : Microsoft.Bot.Builder.BotComponent
type DeclarativeBotComponent = class
    inherit BotComponent
Public Class DeclarativeBotComponent
Inherits BotComponent
继承
DeclarativeBotComponent

构造函数

DeclarativeBotComponent()

注册声明性类型。

方法

ConfigureServices(IServiceCollection, IConfiguration)

机器人组件的入口点,用于在资源浏览器中注册类型、使用配置并在服务集合中注册服务。

适用于