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)

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.IDependencyResolver

The IDependencyResolver to use for this service.

Return to top
Show: