Class UpdatableFormModelBinderAttribute
Annotate a parameter of a controller action with this attribute to use UpdatableFormModelBinder for its value binding.
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)]
public sealed class UpdatableFormModelBinderAttribute : Attribute
- Inheritance
-
objectAttributeUpdatableFormModelBinderAttribute
- Extension Methods
Properties
BinderType
A System.Type which implements either Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder.
public Type BinderType { get; }
Property Value
- Type
BindingSource
Gets the Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata.BindingSource.
public BindingSource BindingSource { get; }
Property Value
- BindingSource
Remarks
The Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata.BindingSource is metadata which can be used to determine which data sources are valid for model binding of a property or parameter.