UnityContainerExtensions.Resolve Method

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

Namespace: Microsoft.Practices.Unity
Assembly: Microsoft.Practices.Unity (in Microsoft.Practices.Unity.dll)


<ExtensionAttribute> _
Public Shared Function Resolve ( _
    container As IUnityContainer, _
    t As Type, _
    ParamArray overrides As ResolverOverride() _
) As Object
public static Object Resolve(
    this IUnityContainer container,
    Type t,
    params ResolverOverride[] overrides
static Object^ Resolve(
    IUnityContainer^ container, 
    Type^ t, 
    ... array<ResolverOverride^>^ overrides
public static function Resolve(
    container : IUnityContainer, 
    t : Type, 
    ... overrides : ResolverOverride[]
) : Object


Return Value

The retrieved object.

See Also

UnityContainerExtensions Class

Microsoft.Practices.Unity Namespace