QnAMakerComponentRegistration class

定义 QnAMaker 的组件资产。

Extends

ComponentRegistration

构造函数

QnAMakerComponentRegistration()

创建 QnAMakerComponentRegistration 的实例。

继承属性

components

方法

getDeclarativeTypes(unknown)

获取 QnAMaker 组件注册的声明性类型。

继承的方法

add(ComponentRegistration)

添加组件,每个类型仅允许一个实例用于组件。

构造函数详细信息

QnAMakerComponentRegistration()

创建 QnAMakerComponentRegistration 的实例。

new QnAMakerComponentRegistration()

继承属性详细信息

components

static components: ComponentRegistration[]

属性值

ComponentRegistration[]

继承自 ComponentRegistration.components

方法详细信息

getDeclarativeTypes(unknown)

获取 QnAMaker 组件注册的声明性类型。

function getDeclarativeTypes(_resourceExplorer: unknown): ComponentDeclarativeTypes[]

参数

_resourceExplorer

unknown

资源浏览器

返回

ComponentDeclarativeTypes[]

组件注册

继承的方法详细信息

add(ComponentRegistration)

添加组件,每个类型仅允许一个实例用于组件。

static function add(componentRegistration: ComponentRegistration)

参数

componentRegistration

ComponentRegistration

要注册的组件。

继承自 ComponentRegistration.add