DependencyResolver DependencyResolver 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
DependencyResolverDependencyResolverDependencyResolver

Constructors

DependencyResolver() DependencyResolver() DependencyResolver()

Initializes a new instance of the DependencyResolver class.

Properties

Current Current Current

Gets the implementation of the dependency resolver.

InnerCurrent InnerCurrent InnerCurrent

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

Methods

InnerSetResolver(Object) InnerSetResolver(Object) InnerSetResolver(Object)

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

InnerSetResolver(IDependencyResolver) InnerSetResolver(IDependencyResolver) InnerSetResolver(IDependencyResolver)

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

InnerSetResolver(Func<Type,Object>, Func<Type,IEnumerable<Object>>) InnerSetResolver(Func<Type,Object>, Func<Type,IEnumerable<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.

SetResolver(Object) SetResolver(Object) SetResolver(Object)

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

SetResolver(IDependencyResolver) SetResolver(IDependencyResolver) SetResolver(IDependencyResolver)

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

SetResolver(Func<Type,Object>, Func<Type,IEnumerable<Object>>) SetResolver(Func<Type,Object>, Func<Type,IEnumerable<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.

Applies to