I’ve created a simple PRISM application with a standard bootstrapper inherited from UnityBootstrapper.
The UnityBootstrapper in turn has the public property IUnityContainer and this interface has the following resolve singature:
object Resolve(Type t, string name, params ResolverOverride[] resolverOverrides);
Now, I don’t know how to get the other resolve methods which are described here.
Am I confusing Unity with its IUnityContainer interface?
In Unity 1.2,
IUnityContainerhad all of those overloads available.In Unity 2.0, you need to bring
UnityContainerExtensionsin scope because the overloads you want are defined as extension methods on this class.