Com.MarcusTS.SmartDI
marcusts/Com.MarcusTS.SmartDI
C#
The Smart Di Container is a tiny, powerful Inversion of Control library. Instantiate classes using RegisterAndResolve, a new extension that both registers and creates a class at the same time. Smart DI auto-creates all constructor parameters and even protects against recursion in those parameters. SmartDI can be declared privately and can be nested -- no more global bootstrapping! Smart DI provides a proven "lifetime scope" for stored class variables so they can be automatically removed when their parents are disposed.