1 write to ContainerType
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Metadata\ModelMetadataIdentity.cs (1)
22ContainerType = containerType;
12 references to ContainerType
Microsoft.AspNetCore.Mvc.Abstractions (5)
ModelBinding\Metadata\ModelMetadataIdentity.cs (4)
142else if (ContainerType != null && Name != null) 183ContainerType == other.ContainerType && 202hash.Add(ContainerType);
ModelBinding\ModelMetadata.cs (1)
69public Type? ContainerType => Identity.ContainerType;
Microsoft.AspNetCore.Mvc.Core (5)
ModelBinding\Metadata\DefaultBindingMetadataProvider.cs (1)
157?? context.Key.ContainerType!
ModelBinding\Metadata\DefaultModelMetadataProvider.cs (3)
217var propertyHelpers = PropertyHelper.GetVisibleProperties(propertyKey.ContainerType!); 227Debug.Fail($"Unable to find property '{propertyKey.Name}' on type '{propertyKey.ContainerType}."); 359var containerType = propertyKey.ContainerType!;
ModelBinding\Metadata\DefaultValidationMetadataProvider.cs (1)
45validationFilter = context.Key.ContainerType!
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DataAnnotationsMetadataProvider.cs (1)
96var containerType = context.Key.ContainerType ?? context.Key.ModelType;
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
ModelBinding\DataMemberRequiredBindingMetadataProvider.cs (1)
42var containerType = context.Key.ContainerType;