Dela via


FormValueProvider Class

Definition

An IValueProvider adapter for data stored in an IFormCollection.

public ref class FormValueProvider : Microsoft::AspNetCore::Mvc::ModelBinding::BindingSourceValueProvider, Microsoft::AspNetCore::Mvc::ModelBinding::IEnumerableValueProvider, Microsoft::AspNetCore::Mvc::ModelBinding::IValueProvider
public class FormValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider
type FormValueProvider = class
    inherit BindingSourceValueProvider
    interface IEnumerableValueProvider
    interface IValueProvider
Public Class FormValueProvider
Inherits BindingSourceValueProvider
Implements IEnumerableValueProvider, IValueProvider
Inheritance
Implements

Constructors

FormValueProvider(BindingSource, IFormCollection, CultureInfo)

Creates a value provider for IFormCollection.

Properties

BindingSource

Gets the corresponding BindingSource.

(Inherited from BindingSourceValueProvider)
Culture

The culture to use.

PrefixContainer

The prefix container.

Methods

ContainsPrefix(String)

Determines whether the collection contains the specified prefix.

Filter(BindingSource)

Filters the value provider based on bindingSource.

(Inherited from BindingSourceValueProvider)
GetKeysFromPrefix(String)

Gets the keys for a specific prefix.

GetValue(String)

Retrieves a value object using the specified key.

Applies to