I am using Unity Container. I register my dependency like this-
container.RegisterType<IMyService, MyService>();
And I expect to resolve that type like this-
container.Resolve<IMyService>();
But there is no parameterless Resolve. The only option I have is one where I have to give the type, the "name" (a string), and an array of ResolverOverride.
Why can't I just resolve the interface I registered?