Dela via


Microsoft.AspNetCore.Mvc.ModelBinding.Binders Namespace

Provides implementations for model binders.

Classes

ArrayModelBinder<TElement>

IModelBinder implementation for binding array values.

ArrayModelBinderProvider

An IModelBinderProvider for arrays.

BinderTypeModelBinder

An IModelBinder for models which specify an IModelBinder using BinderType.

BinderTypeModelBinderProvider

An IModelBinderProvider for models which specify an IModelBinder using BinderType.

BodyModelBinder

An IModelBinder which binds models from the request body using an IInputFormatter when a model has the binding source Body.

BodyModelBinderProvider

An IModelBinderProvider for deserializing the request body using a formatter.

ByteArrayModelBinder

ModelBinder to bind byte Arrays.

ByteArrayModelBinderProvider

An IModelBinderProvider for binding base64 encoded byte arrays.

CancellationTokenModelBinder

IModelBinder implementation to bind models of type CancellationToken.

CancellationTokenModelBinderProvider

An IModelBinderProvider for CancellationToken.

CollectionModelBinder<TElement>

IModelBinder implementation for binding collection values.

CollectionModelBinderProvider

An IModelBinderProvider for ICollection<T>.

ComplexObjectModelBinder

IModelBinder implementation for binding complex types.

ComplexObjectModelBinderProvider

An IModelBinderProvider for complex types.

ComplexTypeModelBinder

IModelBinder implementation for binding complex types.

ComplexTypeModelBinderProvider

An IModelBinderProvider for complex types.

DateTimeModelBinder

An IModelBinder for DateTime and nullable DateTime models.

DateTimeModelBinderProvider

An IModelBinderProvider for binding DateTime and nullable DateTime models.

DecimalModelBinder

An IModelBinder for Decimal and Nullable<T> where T is Decimal.

DictionaryModelBinder<TKey,TValue>

IModelBinder implementation for binding dictionary values.

DictionaryModelBinderProvider

An IModelBinderProvider for binding IDictionary<TKey,TValue>.

DoubleModelBinder

An IModelBinder for Double and Nullable<T> where T is Double.

EnumTypeModelBinder

IModelBinder implementation to bind models for types deriving from Enum.

EnumTypeModelBinderProvider

A IModelBinderProvider for types deriving from Enum.

FloatingPointTypeModelBinderProvider

An IModelBinderProvider for binding Decimal, Double, Single, and their Nullable<T> wrappers.

FloatModelBinder

An IModelBinder for Single and Nullable<T> where T is Single.

FormCollectionModelBinder

IModelBinder implementation to bind form values to IFormCollection.

FormCollectionModelBinderProvider

An IModelBinderProvider for IFormCollection.

FormFileModelBinder

IModelBinder implementation to bind posted files to IFormFile.

FormFileModelBinderProvider

An IModelBinderProvider for IFormFile, collections of IFormFile, and IFormFileCollection.

HeaderModelBinder

An IModelBinder which binds models from the request headers when a model has the binding source Header.

HeaderModelBinderProvider

An IModelBinderProvider for binding header values.

KeyValuePairModelBinder<TKey,TValue>

An IModelBinder for KeyValuePair<TKey,TValue>.

KeyValuePairModelBinderProvider

An IModelBinderProvider for KeyValuePair<TKey,TValue>.

ServicesModelBinder

An IModelBinder which binds models from the request services when a model has the binding source Services.

ServicesModelBinderProvider

An IModelBinderProvider for binding from the IServiceProvider.

SimpleTypeModelBinder

An IModelBinder for simple types.

SimpleTypeModelBinderProvider

An IModelBinderProvider for binding simple data types.

TryParseModelBinderProvider

An IModelBinderProvider for binding types that have a TryParse method.

Remarks

For more information on model binding, Model binding.