Table of Contents

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 HttpConfiguration

The configuration.

modelType Type

The type of model.

Returns

IModelBinder

The associated model binder.