DependencyResolver Class

 

Provides a registration point for dependency resolvers that implement IDependencyResolver or the Common Service Locator IServiceLocator interface.

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

System.Object
  System.Web.Mvc.DependencyResolver

public class DependencyResolver

NameDescription
System_CAPS_pubmethodDependencyResolver()

Initializes a new instance of the DependencyResolver class.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticCurrent

Gets the implementation of the dependency resolver.

System_CAPS_pubpropertyInnerCurrent

This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInnerSetResolver(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.

System_CAPS_pubmethodInnerSetResolver(IDependencyResolver)

This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodInnerSetResolver(Object)

This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticSetResolver(Func<Type, Object>, Func<Type, IEnumerable<Object>>)

Provides a registration point for dependency resolvers using the specified service delegate and specified service collection delegates.

System_CAPS_pubmethodSystem_CAPS_staticSetResolver(IDependencyResolver)

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

System_CAPS_pubmethodSystem_CAPS_staticSetResolver(Object)

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

System_CAPS_pubmethodToString()

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

Return to top
Show: