Поделиться через


IModelBinderProvider.GetBinder(ModelBinderProviderContext) Метод

Определение

Создает на IModelBinder основе ModelBinderProviderContext.

public:
 Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder ^ GetBinder(Microsoft::AspNetCore::Mvc::ModelBinding::ModelBinderProviderContext ^ context);
public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder (Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context);
public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder? GetBinder (Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context);
abstract member GetBinder : Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
Public Function GetBinder (context As ModelBinderProviderContext) As IModelBinder

Параметры

Возвращаемое значение

Объект IModelBinder.

Применяется к