9 references to SampleTestClass
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (9)
NewtonsoftJsonValidationMetadataProviderTest.cs (9)
19
var key = ModelMetadataIdentity.ForProperty(typeof(
SampleTestClass
).GetProperty(nameof(
SampleTestClass
.NoAttributesProperty)), typeof(int), typeof(
SampleTestClass
));
35
var propertyName = nameof(
SampleTestClass
.NoAttributesProperty);
37
var key = ModelMetadataIdentity.ForProperty(typeof(
SampleTestClass
).GetProperty(propertyName), typeof(int), typeof(
SampleTestClass
));
54
var propertyName = nameof(
SampleTestClass
.NoAttributesProperty);
56
var key = ModelMetadataIdentity.ForProperty(typeof(
SampleTestClass
).GetProperty(propertyName), typeof(int), typeof(
SampleTestClass
));