ModelBinderFactory.CreateBinder(ModelBinderFactoryContext) 方法

定义

创建一个新的 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

参数

返回

一个 IModelBinder 实例。

实现

适用于