ComplexModelDto Constructor
Initializes a new instance of the ComplexModelDto class.
Namespace: System.Web.Http.ModelBinding.Binders
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
modelMetadata As ModelMetadata, _
propertyMetadata As IEnumerable(Of ModelMetadata) _
)
'Usage
Dim modelMetadata As ModelMetadata
Dim propertyMetadata As IEnumerable(Of ModelMetadata)
Dim instance As New ComplexModelDto(modelMetadata, _
propertyMetadata)
public ComplexModelDto(
ModelMetadata modelMetadata,
IEnumerable<ModelMetadata> propertyMetadata
)
public:
ComplexModelDto(
ModelMetadata^ modelMetadata,
IEnumerable<ModelMetadata^>^ propertyMetadata
)
new :
modelMetadata:ModelMetadata *
propertyMetadata:IEnumerable<ModelMetadata> -> ComplexModelDto
public function ComplexModelDto(
modelMetadata : ModelMetadata,
propertyMetadata : IEnumerable<ModelMetadata>
)
Parameters
- modelMetadata
Type: System.Web.Http.Metadata.ModelMetadata
The model metadata.
- propertyMetadata
Type: System.Collections.Generic.IEnumerable<ModelMetadata>
The collection of property metadata.