Table of Contents

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

actionContext HttpActionContext

The action context.

bindingContext ModelBindingContext

The binding context.

Returns

bool

true if the specified model is binded; otherwise, false.