Class TypeMatchModelBinderProvider
- Namespace
- System.Web.Http.ModelBinding.Binders
- Assembly
- System.Web.Http.dll
Provides a model binder for a model that does not require type conversion.
public sealed class TypeMatchModelBinderProvider : ModelBinderProvider
- Inheritance
-
TypeMatchModelBinderProvider
- Inherited Members
Constructors
TypeMatchModelBinderProvider()
Initializes a new instance of the TypeMatchModelBinderProvider class.
public TypeMatchModelBinderProvider()
Methods
GetBinder(HttpConfiguration, Type)
Retrieves the associated model binder.
public override IModelBinder GetBinder(HttpConfiguration configuration, Type modelType)
Parameters
configuration
HttpConfigurationThe configuration.
modelType
TypeThe type of model.
Returns
- IModelBinder
The associated model binder.