Compartilhar via


ValueProviderAttribute.GetValueProviderFactories Method

Gets the value provider factories.

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

Syntax

'Declaration
Public Overrides Function GetValueProviderFactories ( _
    configuration As HttpConfiguration _
) As IEnumerable(Of ValueProviderFactory)
'Usage
Dim instance As ValueProviderAttribute 
Dim configuration As HttpConfiguration 
Dim returnValue As IEnumerable(Of ValueProviderFactory)

returnValue = instance.GetValueProviderFactories(configuration)
public override IEnumerable<ValueProviderFactory> GetValueProviderFactories(
    HttpConfiguration configuration
)
public:
virtual IEnumerable<ValueProviderFactory^>^ GetValueProviderFactories(
    HttpConfiguration^ configuration
) override
abstract GetValueProviderFactories : 
        configuration:HttpConfiguration -> IEnumerable<ValueProviderFactory> 
override GetValueProviderFactories : 
        configuration:HttpConfiguration -> IEnumerable<ValueProviderFactory> 
public override function GetValueProviderFactories(
    configuration : HttpConfiguration
) : IEnumerable<ValueProviderFactory>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<ValueProviderFactory>
A collection of value provider factories.

See Also

Reference

ValueProviderAttribute Class

System.Web.Http.ValueProviders Namespace