Factory

Objects can be created with Factory to assign dependencies and initialize them with parameters. Whichever container the Factory is binded, the dependencies of the created objects are injected from that container. A factory class is defined for each factorable object. There are 2 different base factory classes that can be inherited.

Last updated