Base:
method
GetMetadataForProperties
Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadataProvider.GetMetadataForProperties(System.Type)
1 override of GetMetadataForProperties
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Validation\DefaultComplexObjectValidationStrategyTest.cs (1)
239public override IEnumerable<ModelMetadata> GetMetadataForProperties(Type modelType)
12 references to GetMetadataForProperties
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadataProvider.cs (1)
330/// <see cref="GetMetadataForProperties(Type)"/>. Override this method to provide a different
Microsoft.AspNetCore.Mvc.Core.Test (11)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (1)
299foreach (var property in metadataProvider.GetMetadataForProperties(typeof(Person)))
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
359foreach (var property in metadataProvider.GetMetadataForProperties(typeof(Person)))
ModelBinding\Metadata\DefaultModelMetadataProviderTest.cs (8)
67var metadata = provider.GetMetadataForProperties(modelType).ToArray(); 93var metadata = provider.GetMetadataForProperties(typeof(ModelType)).ToArray(); 108var metadata = provider.GetMetadataForProperties(typeof(ModelTypeWithIndexer)).ToArray(); 122var properties1 = provider.GetMetadataForProperties(typeof(ModelType)).Cast<DefaultModelMetadata>().ToArray(); 123var properties2 = provider.GetMetadataForProperties(typeof(ModelType)).Cast<DefaultModelMetadata>().ToArray(); 158var metadata = provider.GetMetadataForProperties(typeof(ModelType)).First(); 175var metadata = provider.GetMetadataForProperties(typeof(DerivedModelWithHiding)); 189var metadata = provider.GetMetadataForProperties(typeof(ModelType));
ModelBinding\Validation\DefaultComplexObjectValidationStrategyTest.cs (1)
241return base.GetMetadataForProperties(modelType).Where(property => !_shouldExclude(property));