ModelBinderFactory.CreateBinder(ModelBinderFactoryContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new IModelBinder.
public:
virtual Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder ^ CreateBinder(Microsoft::AspNetCore::Mvc::ModelBinding::ModelBinderFactoryContext ^ context);
public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder CreateBinder (Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext context);
abstract member CreateBinder : Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
override this.CreateBinder : Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
Public Function CreateBinder (context As ModelBinderFactoryContext) As IModelBinder
Parameters
- context
- ModelBinderFactoryContext
Returns
An IModelBinder instance.