Share via

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)


Function Resolve ( _
    t As Type, _
    name As String, _
    ParamArray resolverOverrides As ResolverOverride() _
) As Object
Object Resolve(
    Type t,
    string name,
    params ResolverOverride[] resolverOverrides
Object^ Resolve(
    Type^ t, 
    String^ name, 
    ... array<ResolverOverride^>^ resolverOverrides
function Resolve(
    t : Type, 
    name : String, 
    ... resolverOverrides : ResolverOverride[]
) : Object


Return Value

The retrieved object.

See Also

IUnityContainer Interface

Microsoft.Practices.Unity Namespace