Export (0) Print
Expand All

DependencyResolver.SetResolver Method (IDependencyResolver)

Provides a registration point for dependency resolvers, using the specified dependency resolver interface.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public static void SetResolver(
	IDependencyResolver resolver


Type: System.Web.Mvc.IDependencyResolver

The dependency resolver.

Use this method when you have an implementation of IDependencyResolver. For more information about DependencyResolver, see the entry ASP.NET MVC 3 Service Location on Brad Wilson's blog.

© 2014 Microsoft