ComplexModelDtoModelBinderProvider.GetBinder Method (HttpConfiguration, Type)
Retrieves the associated model binder.
Namespace: System.Web.Http.ModelBinding.Binders
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public override IModelBinder GetBinder(
HttpConfiguration configuration,
Type modelType
)
public:
virtual IModelBinder^ GetBinder(
HttpConfiguration^ configuration,
Type^ modelType
) override
override GetBinder :
configuration:HttpConfiguration *
modelType:Type -> IModelBinder
Public Overrides Function GetBinder (
configuration As HttpConfiguration,
modelType As Type
) As IModelBinder
Parameters
configuration
Type: System.Web.Http.HttpConfigurationThe configuration.
modelType
Type: System.TypeThe type of the model to retrieve.
Return Value
Type: System.Web.Http.ModelBinding.IModelBinder
The model binder.
See Also
ComplexModelDtoModelBinderProvider Class
System.Web.Http.ModelBinding.Binders Namespace
Return to top