addFactory method

void addFactory(
  1. IFactory factory
)
inherited

Adds a factory to the container. The factory is used to create components added to the container by their locators (descriptors).

  • factory a component factory to be added.

Implementation

void addFactory(IFactory factory) {
  factories.add(factory);
}