I’m new to Unity Dependency Injection and have a question thats probably very straight forward..
I would like to register type mappings based on configuration pulled from my database model. How and what’s the best way to do this?
For example would I do something like this?
myContainer.RegisterType<IMyType, /*My dynamic config value*/>();
Thanks in advance
You could specify target types in your database using assembly qualified names