3 instantiations of Person
Microsoft.AspNetCore.Http.Abstractions.Tests (3)
Validation\ValidatableParameterInfoTests.cs (3)
155
var person = new
Person
(); // Name is null, so should fail validation
197
new
() { Name = "Valid" },
198
new
() // Name is null, should fail
10 references to Person
Microsoft.AspNetCore.Http.Abstractions.Tests (10)
Validation\ValidatableParameterInfoTests.cs (10)
133
typeof(
Person
),
136
typeof(
Person
),
144
parameterType: typeof(
Person
),
151
{ typeof(
Person
), personTypeInfo }
155
var
person = new Person(); // Name is null, so should fail validation
173
typeof(
Person
),
176
typeof(
Person
),
184
parameterType: typeof(IEnumerable<
Person
>),
191
{ typeof(
Person
), personTypeInfo }
195
var people = new List<
Person
>