BotComponent 类

定义

定义允许 BotComponent 注册服务、自定义动作、内存作用域和适配器的 a。

public abstract class BotComponent
type BotComponent = class
Public MustInherit Class BotComponent
继承
BotComponent
派生

构造函数

名称 说明
BotComponent()

定义允许 BotComponent 注册服务、自定义动作、内存作用域和适配器的 a。

方法

名称 说明
ConfigureServices(IServiceCollection, IConfiguration)

机器人组件的入口,用于在资源资源管理器中注册类型、消耗配置并在服务集合中注册服务。

适用于