I am new to Unity Dependency Injection and ask a question that is probably very straightforward.
I would like to register type mappings based on the configuration extracted from my database model. How and what is the best way to do this?
For example, would I do something like this?
myContainer.RegisterType<IMyType, >();
Thanks in advance
source
share