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