Partager via


FromUriAttribute.GetValueProviderFactories Method

Gets the value provider factories for the model binder.

Namespace:  System.Web.Http
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 FromUriAttribute 
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 ValueProviderFactory objects.

See Also

Reference

FromUriAttribute Class

System.Web.Http Namespace