1 write to ModelMetadata
System.Web (1)
ModelBinding\ModelValidationNode.cs (1)
20
ModelMetadata
= modelMetadata;
5 references to ModelMetadata
System.Web (5)
ModelBinding\ModelValidationNode.cs (5)
80
object containerInstance = parentNode.
ModelMetadata
.Model;
82
Type expectedContainerType =
ModelMetadata
.ContainerType;
139
object model =
ModelMetadata
.Model;
140
ModelMetadata updatedMetadata = ModelMetadataProviders.Current.GetMetadataForType(() => model,
ModelMetadata
.ModelType);
165
foreach (ModelValidator validator in
ModelMetadata
.GetValidators(modelBindingExecutionContext)) {