Class AbpExtraPropertyModelBinder
Inheritance
object
AbpExtraPropertyModelBinder
Implements
Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Mvc.ModelBinding
Assembly: Volo.Abp.AspNetCore.Mvc.dll
Syntax
public class AbpExtraPropertyModelBinder : IModelBinder
Constructors
AbpExtraPropertyModelBinder(Type)
Declaration
public AbpExtraPropertyModelBinder(Type extensibleObjectType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | extensibleObjectType |
Properties
ExtensibleObjectType
Declaration
public Type ExtensibleObjectType { get; }
Property Value
| Type | Description |
|---|---|
| System.Type |
Methods
BindModelAsync(ModelBindingContext)
Declaration
public virtual Task BindModelAsync(ModelBindingContext bindingContext)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext | bindingContext |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
ConvertStringToPropertyType(ModelBindingContext, string)
Declaration
protected virtual object ConvertStringToPropertyType(ModelBindingContext bindingContext, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext | bindingContext | |
| string | value |
Returns
| Type | Description |
|---|---|
| object |
Implements
Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder