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)
239
public 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)
299
foreach (var property in metadataProvider.
GetMetadataForProperties
(typeof(Person)))
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
359
foreach (var property in metadataProvider.
GetMetadataForProperties
(typeof(Person)))
ModelBinding\Metadata\DefaultModelMetadataProviderTest.cs (8)
67
var metadata = provider.
GetMetadataForProperties
(modelType).ToArray();
93
var metadata = provider.
GetMetadataForProperties
(typeof(ModelType)).ToArray();
108
var metadata = provider.
GetMetadataForProperties
(typeof(ModelTypeWithIndexer)).ToArray();
122
var properties1 = provider.
GetMetadataForProperties
(typeof(ModelType)).Cast<DefaultModelMetadata>().ToArray();
123
var properties2 = provider.
GetMetadataForProperties
(typeof(ModelType)).Cast<DefaultModelMetadata>().ToArray();
158
var metadata = provider.
GetMetadataForProperties
(typeof(ModelType)).First();
175
var metadata = provider.
GetMetadataForProperties
(typeof(DerivedModelWithHiding));
189
var metadata = provider.
GetMetadataForProperties
(typeof(ModelType));
ModelBinding\Validation\DefaultComplexObjectValidationStrategyTest.cs (1)
241
return base.
GetMetadataForProperties
(modelType).Where(property => !_shouldExclude(property));