3 ms·
The core of a DI container is generally extremely simple — objects are constructed by scanning collections of registered dependency types for matches and constr
by jolux 6y ago
The core of a DI container is generally extremely simple — objects are constructed by scanning collections of registered dependency types for matches and constructing them with the same process before passing them on. It has a recursive structure that I would even call elegant.