registerAsType method

void registerAsType (
  1. dynamic locator,
  2. dynamic type
)
inherited

Registers a component using its type (a constructor function).

  • locator a locator to identify component to be created.
  • type a component type.