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


DateTimeModelBinderProvider.GetBinder(ModelBinderProviderContext) Метод

Определение

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

public:
 virtual 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
override this.GetBinder : Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
Public Function GetBinder (context As ModelBinderProviderContext) As IModelBinder

Параметры

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

Объект IModelBinder.

Реализации

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