DictionaryModelBinderProvider.GetBinder(ModelBinderProviderContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a IModelBinder based on 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
Parameters
- context
- ModelBinderProviderContext
Returns
An IModelBinder.