Class ComplexModelDtoModelBinderProvider
- Namespace
- System.Web.Http.ModelBinding.Binders
- Assembly
- System.Web.Http.dll
Represents a complex model that invokes a model binder provider.
public sealed class ComplexModelDtoModelBinderProvider : ModelBinderProvider
- Inheritance
-
ComplexModelDtoModelBinderProvider
- Inherited Members
Constructors
ComplexModelDtoModelBinderProvider()
Initializes a new instance of the ComplexModelDtoModelBinderProvider class.
public ComplexModelDtoModelBinderProvider()
Methods
GetBinder(HttpConfiguration, Type)
Retrieves the associated model binder.
public override IModelBinder GetBinder(HttpConfiguration configuration, Type modelType)
Parameters
configurationHttpConfigurationThe configuration.
modelTypeTypeThe type of the model to retrieve.
Returns
- IModelBinder
The model binder.