DependencyResolverExtensions Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides a centralized list of type-safe accessors describing where and how you use the dependency resolver.
Inheritance Hierarchy
System.Object
System.Web.Http.DependencyResolverExtensions
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class DependencyResolverExtensions
public static class DependencyResolverExtensions
[ExtensionAttribute]
public ref class DependencyResolverExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type DependencyResolverExtensions = class end
public final class DependencyResolverExtensions
The DependencyResolverExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetActionInvoker | ||
GetActionSelector | ||
GetActionValueBinder | ||
GetBuildManager | ||
GetFilterProviders | ||
GetFormatterSelector | ||
GetHttpControllerActivator | Used to instantiate an IHttpController. | |
GetHttpControllerFactory | Retrieves the controller factory, which instantiates a string name into an IHttpController. | |
GetLogger | Retrieves the ILogger service. | |
GetModelBinderProviders | ||
GetModelMetadataProvider | ||
GetModelValidatorProviders | ||
GetRequestContentReadPolicy | ||
GetValueProviderFactories | Retrieves ValueProviderFactory. |
Top
Remarks
This class also provides a single entry point for each service request. That makes it easy to see which parts of the code use it, and provides a single place to comment usage. Accessors encapsulate usage like: Type-safe using {T} instead of unsafe Type.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.