3 instantiations of Person
Microsoft.AspNetCore.Http.Abstractions.Tests (3)
Validation\ValidatableParameterInfoTests.cs (3)
157
var person = new
Person
(); // Name is null, so should fail validation
199
new
() { Name = "Valid" },
200
new
() // Name is null, should fail
10 references to Person
Microsoft.AspNetCore.Http.Abstractions.Tests (10)
Validation\ValidatableParameterInfoTests.cs (10)
135
typeof(
Person
),
138
typeof(
Person
),
146
parameterType: typeof(
Person
),
153
{ typeof(
Person
), personTypeInfo }
157
var
person = new Person(); // Name is null, so should fail validation
175
typeof(
Person
),
178
typeof(
Person
),
186
parameterType: typeof(IEnumerable<
Person
>),
193
{ typeof(
Person
), personTypeInfo }
197
var people = new List<
Person
>