IModelBinderFactory.CreateBinder(ModelBinderFactoryContext) 方法

定义

创建一个新的 IModelBinder

public:
 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
Public Function CreateBinder (context As ModelBinderFactoryContext) As IModelBinder

参数

返回

一个 IModelBinder 实例。

适用于