22 references to ContainerType
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\ModelMetadata.cs (2)
72
/// Gets the metadata for <see cref="
ContainerType
"/> if this metadata is for a property;
803
return $"ModelMetadata (Property: '{
ContainerType
!.Name}.{PropertyName}' Type: '{ModelType.Name}')";
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
DefaultApiDescriptionProvider.cs (2)
638
if (modelMetadata.
ContainerType
!= null)
712
ContainerType = metadata.
ContainerType
!;
Microsoft.AspNetCore.Mvc.Core (12)
ModelBinding\Binders\ComplexObjectModelBinder.cs (1)
206
bindingContext.ModelMetadata.
ContainerType
!.FullName));
ModelBinding\Binders\ComplexTypeModelBinder.cs (1)
495
bindingContext.ModelMetadata.
ContainerType
.FullName));
ModelBinding\ModelBinderFactory.cs (1)
313
return $"{_token} (Property: '{_metadata.
ContainerType
!.Name}.{_metadata.PropertyName}' " +
ModelBinding\ParameterBinder.Log.cs (5)
33
modelMetadata.
ContainerType
,
79
modelMetadata.
ContainerType
,
125
modelMetadata.
ContainerType
,
175
modelMetadata.
ContainerType
,
224
modelMetadata.
ContainerType
,
ModelBinding\Validation\ValidationVisitor.cs (1)
297
message = Resources.FormatValidationVisitor_ExceededMaxPropertyDepth(nameof(ValidationVisitor), MaxValidationDepth, metadata.Name, metadata.
ContainerType
);
MvcCoreLoggerExtensions.cs (3)
134
modelMetadata.
ContainerType
,
188
modelMetadata.
ContainerType
,
227
modelMetadata.
ContainerType
,
Microsoft.AspNetCore.Mvc.DataAnnotations (4)
CompareAttributeAdapter.cs (2)
86
if (otherPropertyDisplayName == null && validationContext.ModelMetadata.
ContainerType
!= null)
89
validationContext.ModelMetadata.
ContainerType
,
DataAnnotationsClientModelValidatorProvider.cs (1)
54
context.ModelMetadata.
ContainerType
?? context.ModelMetadata.ModelType,
DataAnnotationsModelValidatorProvider.cs (1)
50
context.ModelMetadata.
ContainerType
?? context.ModelMetadata.ModelType,
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
ModelExplorer.cs (1)
104
/// instances, then use <see cref="ModelMetadata.
ContainerType
"/> to validate this assumption.
RemoteAttributeBase.cs (1)
187
context.ModelMetadata.
ContainerType
?? context.ModelMetadata.ModelType,