Share via


BotComponent 类

定义

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

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

构造函数

BotComponent()

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

方法

ConfigureServices(IServiceCollection, IConfiguration)

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

适用于