0 out of 1 rated this helpful - Rate this topic

IUnityContainer.Resolve Method

Resolve an instance of the requested type with the given name from the container.

Namespace:  Microsoft.Practices.Unity
Assembly:  Microsoft.Practices.Unity (in Microsoft.Practices.Unity.dll)
Object Resolve(
	Type t,
	string name,
	params ResolverOverride[] resolverOverrides
)

Parameters

t
Type: System.Type
Type of object to get from the container.
name
Type: System.String
Name of the object to retrieve.
resolverOverrides
Type: Microsoft.Practices.Unity.ResolverOverride []
Any overrides for the resolve call.

Return Value

The retrieved object.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.