DependencyResolver Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for