Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DependencyResolver.SetResolver Method (Object)

Provides a registration point for dependency resolvers using the provided common service locator when using a service locator interface.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public static void SetResolver(
	Object commonServiceLocator


Type: System.Object
The common service locator.

The commonServiceLocator parameter can be an instance of IDependencyResolver or an object that implements the Common Service Locator IServiceLocator interface. For more information about Common Service Locator, see Common Service Locator Library on the CodePlex Web site. For more information about DependencyResolver, see the entry ASP.NET MVC 3 Service Location on Brad Wilson's blog.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.