registerAsType method

void registerAsType (dynamic locator 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.