1 override of ContainerMetadata
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
82public override ModelMetadata? ContainerMetadata => _details.ContainerMetadata;
7 references to ContainerMetadata
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelMetadataTest.cs (1)
387Assert.Throws<NotImplementedException>(() => metadata.ContainerMetadata);
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Validation\ClientValidatorCache.cs (2)
28metadata.ContainerMetadata?.BoundConstructor != null && 29metadata.ContainerMetadata.BoundConstructorPropertyMapping.TryGetValue(metadata, out var parameter))
Microsoft.AspNetCore.Mvc.Core.Test (4)
ModelBinding\Metadata\DefaultModelMetadataProviderTest.cs (4)
75Assert.NotNull(propertyMetadata.ContainerMetadata); 76Assert.Equal(modelType, propertyMetadata.ContainerMetadata.ModelType); 81Assert.NotNull(propertyMetadata.ContainerMetadata); 82Assert.Equal(modelType, propertyMetadata.ContainerMetadata.ModelType);