2 instantiations of Person
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Validation\DefaultComplexObjectValidationStrategyTest.cs (2)
16
var model = new
Person
()
56
var model = new
Person
()
6 references to Person
Microsoft.AspNetCore.Mvc.Core.Test (6)
ModelBinding\Validation\DefaultComplexObjectValidationStrategyTest.cs (6)
16
var
model = new Person()
23
var metadata = TestModelMetadataProvider.CreateDefaultProvider().GetMetadataForType(typeof(
Person
));
56
var
model = new Person()
63
var metadata = TestModelMetadataProvider.CreateDefaultProvider(new List<IMetadataDetailsProvider> { new TestValidationModelNameProvider() }).GetMetadataForType(typeof(
Person
));
96
Person
model = null;
97
var metadata = TestModelMetadataProvider.CreateDefaultProvider().GetMetadataForType(typeof(
Person
));