IModelBinderProvider Interface¶
Creates Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder instances. Register Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider
instances in <code>MvcOptions</code>.
- Namespace
Microsoft.AspNetCore.Mvc.ModelBinding- Assemblies
- Microsoft.AspNetCore.Mvc.Abstractions
Syntax¶
public interface IModelBinderProvider
-
interface
Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider
Methods¶
-
GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext)¶ Creates a
Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderbased onMicrosoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext.IModelBinder GetBinder(ModelBinderProviderContext context)
-