1 write to _modelMetadata
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Validation\DefaultComplexObjectValidationStrategy.cs (1)
51
_modelMetadata
= modelMetadata;
6 references to _modelMetadata
Microsoft.AspNetCore.Mvc.Core (6)
ModelBinding\Validation\DefaultComplexObjectValidationStrategy.cs (6)
55
if (
_modelMetadata
.BoundConstructor == null)
61
_modelMetadata
.ThrowIfRecordTypeHasValidationOnProperties();
62
_parameters =
_modelMetadata
.BoundConstructor.BoundConstructorParameters!;
65
_properties =
_modelMetadata
.BoundProperties;
96
if (!
_modelMetadata
.BoundConstructorParameterMapping.TryGetValue(parameter, out var property))
99
Resources.FormatValidationStrategy_MappedPropertyNotFound(parameterName,
_modelMetadata
.ModelType));