Freigeben über


ModelBinderAttribute.GetValueProviderFactories Method

Gets the value providers that will be fed to the model binder.

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

Syntax

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

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

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<ValueProviderFactory>
A collection of ValueProviderFactory instances.

See Also

Reference

ModelBinderAttribute Class

System.Web.Http.ModelBinding Namespace