4 references to _metadataProvider
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (4)
DataAnnotationsModelValidatorProviderTest.cs (4)
25
var metadata =
_metadataProvider
.GetMetadataForType(mockValidatable.GetType());
44
var metadata =
_metadataProvider
.GetMetadataForProperty(
67
var metadata =
_metadataProvider
.GetMetadataForType(typeof(DummyClassWithDummyValidationAttribute));
99
var metadata =
_metadataProvider
.GetMetadataForType(mockValidatable.Object.GetType());