Resolving Types Registered as Interfaces with Non-Generic Overloads Method
Opened this issue · 0 comments
Que2701 commented
The example uses an interface called IService in the registration process, but the line of code that requests the instance of the object all of a sudden uses an interface called IMyService (demonstrated in code snipped below)
var instance = (IService)container.Resolve(typeof(IMyService));
This looks like a typo