microsoft-dependency-injection
microsoft-dependency-injection copied to clipboard
Use of explicit casts on Service Provider Factory
Hello, while working with asp.net core i witnessed a situation where the class: ServiceProviderFactory.cs uses direct cast to UnityContainer thus making it unusable when someone needs to create a specific IUnityContainer implementation.
Is this functionality by design ? or it should be fixed to use interfaces instead?
Best,
It should be fixed