Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)

static member SetResolver : 
        resolver:IDependencyResolver -> unit

Parameters

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.

Show:
© 2015 Microsoft