DependencyResolver Class
Provides a registration point for dependency resolvers that implement IDependencyResolver or the Common Service Locator IServiceLocator interface.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | DependencyResolver() | Initializes a new instance of the DependencyResolver class. |
| Name | Description | |
|---|---|---|
![]() ![]() | Current | Gets the implementation of the dependency resolver. |
![]() | InnerCurrent | This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | InnerSetResolver(Func<Type, Object>, Func<Type, IEnumerable<Object>>) | This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. |
![]() | InnerSetResolver(IDependencyResolver) | This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. |
![]() | InnerSetResolver(Object) | This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() ![]() | SetResolver(Func<Type, Object>, Func<Type, IEnumerable<Object>>) | Provides a registration point for dependency resolvers using the specified service delegate and specified service collection delegates. |
![]() ![]() | SetResolver(IDependencyResolver) | Provides a registration point for dependency resolvers, using the specified dependency resolver interface. |
![]() ![]() | SetResolver(Object) | Provides a registration point for dependency resolvers using the provided common service locator when using a service locator interface. |
![]() | ToString() | (Inherited from Object.) |
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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=fsharp)
.jpeg?cs-save-lang=1&cs-lang=fsharp)
.jpeg?cs-save-lang=1&cs-lang=fsharp)
.jpeg?cs-save-lang=1&cs-lang=fsharp)