ComponentRegistration class

ComponentRegistration 是用于从组件中发现资产的签名类。

属性

components

获取已注册的所有 ComponentRegistration 对象的列表。

方法

add(ComponentRegistration)

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

属性详细信息

components

获取已注册的所有 ComponentRegistration 对象的列表。

static ComponentRegistration[] components

属性值

ComponentRegistration 对象的列表。

方法详细信息

add(ComponentRegistration)

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

static function add(componentRegistration: ComponentRegistration)

参数

componentRegistration
ComponentRegistration

要注册的组件。