Table of Contents

Class ComplexModelDto

Namespace
System.Web.Http.ModelBinding.Binders
Assembly
System.Web.Http.dll

Represents a data transfer object (DTO) for a complex model.

public class ComplexModelDto
Inheritance
ComplexModelDto
Inherited Members

Constructors

ComplexModelDto(ModelMetadata, IEnumerable<ModelMetadata>)

Initializes a new instance of the ComplexModelDto class.

public ComplexModelDto(ModelMetadata modelMetadata, IEnumerable<ModelMetadata> propertyMetadata)

Parameters

modelMetadata ModelMetadata

The model metadata.

propertyMetadata IEnumerable<ModelMetadata>

The collection of property metadata.

Properties

ModelMetadata

Gets or sets the model metadata of the ComplexModelDto.

public ModelMetadata ModelMetadata { get; }

Property Value

ModelMetadata

The model metadata of the ComplexModelDto.

PropertyMetadata

Gets or sets the collection of property metadata of the ComplexModelDto.

public Collection<ModelMetadata> PropertyMetadata { get; }

Property Value

Collection<ModelMetadata>

The collection of property metadata of the ComplexModelDto.

Results

Gets or sets the results of the ComplexModelDto.

public IDictionary<ModelMetadata, ComplexModelDtoResult> Results { get; }

Property Value

IDictionary<ModelMetadata, ComplexModelDtoResult>

The results of the ComplexModelDto.