Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

UnityContainerExtensions.Resolve<T> Method (IUnityContainer, ResolverOverride[])

Resolve an instance of the default requested type from the container.

Namespace:  Microsoft.Practices.Unity
Assembly:  Microsoft.Practices.Unity (in Microsoft.Practices.Unity.dll)
public static T Resolve<T>(
	this IUnityContainer container,
	params ResolverOverride[] overrides
)

Parameters

container
Type: Microsoft.Practices.Unity.IUnityContainer
Container to resolve from.
overrides
Type: Microsoft.Practices.Unity.ResolverOverride []
Any overrides for the resolve call.
T
Type of object to get from the container.

Return Value

The retrieved object.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.