Udostępnij za pośrednictwem


HeaderModelBinderProvider.GetBinder(ModelBinderProviderContext) Metoda

Definicja

Tworzy obiekt IModelBinder na podstawie .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

Parametry

Zwraca

Element IModelBinder.

Implementuje

Dotyczy