Class MutableObjectModelBinderProvider
- Namespace
- System.Web.Http.ModelBinding.Binders
- Assembly
- System.Web.Http.dll
Provides a model binder for mutable objects.
public sealed class MutableObjectModelBinderProvider : ModelBinderProvider
- Inheritance
-
MutableObjectModelBinderProvider
- Inherited Members
Constructors
MutableObjectModelBinderProvider()
Initializes a new instance of the MutableObjectModelBinderProvider class.
public MutableObjectModelBinderProvider()
Methods
GetBinder(HttpConfiguration, Type)
Retrieves the model binder for the specified type.
public override IModelBinder GetBinder(HttpConfiguration configuration, Type modelType)
Parameters
configuration
HttpConfigurationThe configuration.
modelType
TypeThe type of the model to retrieve.
Returns
- IModelBinder
The model binder.