DependencyResolverExtensions.GetValueProviderFactories Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Retrieves ValueProviderFactory.

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


<ExtensionAttribute> _
Public Shared Function GetValueProviderFactories ( _
    resolver As DependencyResolver _
) As IEnumerable(Of ValueProviderFactory)
public static IEnumerable<ValueProviderFactory> GetValueProviderFactories(
    this DependencyResolver resolver
static IEnumerable<ValueProviderFactory^>^ GetValueProviderFactories(
    DependencyResolver^ resolver
static member GetValueProviderFactories : 
        resolver:DependencyResolver -> IEnumerable<ValueProviderFactory> 
public static function GetValueProviderFactories(
    resolver : DependencyResolver
) : IEnumerable<ValueProviderFactory>


Return Value

Type: System.Collections.Generic.IEnumerable<ValueProviderFactory>
The ValueProviderFactory.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DependencyResolver. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).


The order of returned providers is the priority order that we search the factories.

See Also


DependencyResolverExtensions Class

System.Web.Http Namespace