TomYip
Results
issues of
TomYip
I have a controller which take ISomething as dependency. There are already multiple classes implementing this interface. How can I control which concrete class in injected to the constructor of...
Source - Docs.ms
With default service container, is there a way to set the default type when resolving dependency injection of an interface, like what's in the Autofac sample in the above? builder.RegisterType<CharacterRepository>().As<ICharacterRepository>();...
Source - Docs.ms