Class AbpDateTimeModelBinder
Inheritance
object
AbpDateTimeModelBinder
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 AbpDateTimeModelBinder : IModelBinder
Constructors
AbpDateTimeModelBinder(IClock, DateTimeModelBinder)
Declaration
public AbpDateTimeModelBinder(IClock clock, DateTimeModelBinder dateTimeModelBinder)
Parameters
| Type | Name | Description |
|---|---|---|
| IClock | clock | |
| Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinder | dateTimeModelBinder |
Methods
BindModelAsync(ModelBindingContext)
Declaration
public Task BindModelAsync(ModelBindingContext bindingContext)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext | bindingContext |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder