DependencyResolver Class

Definition

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

public class DependencyResolver
type DependencyResolver = class
Public Class DependencyResolver
Inheritance
DependencyResolver

Constructors

DependencyResolver()

Initializes a new instance of the DependencyResolver class.

Properties

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.

Methods

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.

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.

Applies to