ConfigBuilder.ConfigureWebApiDependencyResolver Method (HttpConfiguration, IDictionary<Type, Object>)
Initializes the dependency resolver.
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
protected virtual IDependencyResolver ConfigureWebApiDependencyResolver( HttpConfiguration config, IDictionary<Type, object> serviceInstances )
Parameters
- config
-
Type:
System.Web.Http.HttpConfiguration
The current HttpConfiguration instance.
- 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.IDependencyResolverThe IDependencyResolver to use for this service.
Show: