10 references to SampleTestClass
Microsoft.AspNetCore.Mvc.Core.Test (10)
ModelBinding\Metadata\SystemTextJsonValidationMetadataProviderTest.cs (10)
17
var key = ModelMetadataIdentity.ForProperty(typeof(
SampleTestClass
).GetProperty(nameof(
SampleTestClass
.NoAttributesProperty)), typeof(int), typeof(
SampleTestClass
));
33
var propertyName = nameof(
SampleTestClass
.NoAttributesProperty);
35
var key = ModelMetadataIdentity.ForProperty(typeof(
SampleTestClass
).GetProperty(propertyName), typeof(int), typeof(
SampleTestClass
));
52
var key = ModelMetadataIdentity.ForType(typeof(
SampleTestClass
));
68
var propertyName = nameof(
SampleTestClass
.NoAttributesProperty);
70
var key = ModelMetadataIdentity.ForProperty(typeof(
SampleTestClass
).GetProperty(propertyName), typeof(int), typeof(
SampleTestClass
));