ComponentRegistration class

ComponentRegistration is a signature class for discovering assets from components.

Properties

components

Gets list of all ComponentRegistration objects registered.

Methods

add(ComponentRegistration)

Add a component, only one instance per type is allowed for components.

Property Details

components

Gets list of all ComponentRegistration objects registered.

static ComponentRegistration[] components

Property Value

A list of ComponentRegistration objects.

Method Details

add(ComponentRegistration)

Add a component, only one instance per type is allowed for components.

static function add(componentRegistration: ComponentRegistration)

Parameters

componentRegistration
ComponentRegistration

The component to be registered.