Share via


ConfigBuilder.ConfigureWebApiDependencyResolver Method (HttpConfiguration, IDictionary<Type, Object>)

 

Initializes the dependency resolver.

Namespace:   Microsoft.WindowsAzure.Mobile.Service
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Syntax

protected virtual IDependencyResolver ConfigureWebApiDependencyResolver(
    HttpConfiguration config,
    IDictionary<Type, object> serviceInstances
)
protected:
virtual IDependencyResolver^ ConfigureWebApiDependencyResolver(
    HttpConfiguration^ config,
    IDictionary<Type^, Object^>^ serviceInstances
)
abstract ConfigureWebApiDependencyResolver : 
        config:HttpConfiguration *
        serviceInstances:IDictionary<Type, Object> -> IDependencyResolver
override ConfigureWebApiDependencyResolver : 
        config:HttpConfiguration *
        serviceInstances:IDictionary<Type, Object> -> IDependencyResolver
Protected Overridable Function ConfigureWebApiDependencyResolver (
    config As HttpConfiguration,
    serviceInstances As IDictionary(Of Type, Object)
) As IDependencyResolver

Parameters

  • serviceInstances
    Type: System.Collections.Generic.IDictionary<Type, Object>

    The set of dependencies which are required for the service to function. These dependencies should be registered so that they are available to the service upon request.

Return Value

Type: System.Web.Http.Dependencies.IDependencyResolver

The IDependencyResolver to use for this service.

See Also

ConfigBuilder Class
Microsoft.WindowsAzure.Mobile.Service Namespace

Return to top