Class ComplexModelDtoModelBinder
- Namespace
- System.Web.Http.ModelBinding.Binders
- Assembly
- System.Web.Http.dll
Represents a model binder for ComplexModelDto object.
public sealed class ComplexModelDtoModelBinder : IModelBinder
- Inheritance
-
ComplexModelDtoModelBinder
- Implements
- Inherited Members
Constructors
ComplexModelDtoModelBinder()
Initializes a new instance of the ComplexModelDtoModelBinder class.
public ComplexModelDtoModelBinder()
Methods
BindModel(HttpActionContext, ModelBindingContext)
Determines whether the specified model is binded.
public bool BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext)
Parameters
actionContextHttpActionContextThe action context.
bindingContextModelBindingContextThe binding context.
Returns
- bool
true if the specified model is binded; otherwise, false.