BinderTypeModelBinder Class¶
An Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
for models which specify an Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
using
Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo.BinderType
.
- Namespace
Microsoft.AspNetCore.Mvc.ModelBinding.Binders
- Assemblies
- Microsoft.AspNetCore.Mvc.Core
Syntax¶
public class BinderTypeModelBinder : IModelBinder
-
class
Microsoft.AspNetCore.Mvc.ModelBinding.Binders.
BinderTypeModelBinder
Constructors¶
-
BinderTypeModelBinder
(System.Type)¶ Creates a new
Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinder
.Arguments: binderType (System.Type) – The System.Type
of theMicrosoft.AspNetCore.Mvc.ModelBinding.IModelBinder
.public BinderTypeModelBinder(Type binderType)
-