8 references to TypeWithNumericProperty
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (8)
NumericClientModelValidatorTest.cs (8)
19
var metadata = provider.GetMetadataForProperty(typeof(
TypeWithNumericProperty
), "Id");
45
.ForProperty(typeof(
TypeWithNumericProperty
), nameof(
TypeWithNumericProperty
.Id))
52
typeof(
TypeWithNumericProperty
),
53
nameof(
TypeWithNumericProperty
.Id));
76
var method = typeof(
TypeWithNumericProperty
).GetMethod(nameof(
TypeWithNumericProperty
.IsLovely));
134
var metadata = provider.GetMetadataForProperty(typeof(
TypeWithNumericProperty
), "Id");