8 instantiations of Person
Microsoft.AspNetCore.Mvc.Core.Test (8)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (8)
782
var model = new
Person
();
807
var model = new
Person
();
865
var model = new
Person
();
887
var model = new
Person
();
911
var model = new
Person
();
935
var model = new
Person
();
1022
var model = new
Person
();
1042
var model = new
Person
24 references to Person
Microsoft.AspNetCore.Mvc.Core.Test (24)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (24)
28
var bindingContext = CreateContext(GetMetadataForType(typeof(
Person
)));
272
private IActionResult ActionWithComplexParameter(
Person
parameter) => null;
299
foreach (var property in metadataProvider.GetMetadataForProperties(typeof(
Person
)))
314
Assert.IsType<
Person
>(bindingContext.Result.Model);
782
var
model = new Person();
787
var property = GetMetadataForProperty(model.GetType(), nameof(
Person
.ValueTypeRequired));
807
var
model = new Person();
812
var property = GetMetadataForProperty(model.GetType(), nameof(
Person
.ValueTypeRequired));
865
var
model = new Person();
868
var metadata = GetMetadataForType(typeof(
Person
));
878
var
person = Assert.IsType<
Person
>(bindingContext.Model);
887
var
model = new Person();
890
var metadata = GetMetadataForType(typeof(
Person
));
902
var
person = Assert.IsType<
Person
>(bindingContext.Model);
911
var
model = new Person();
914
var metadata = GetMetadataForType(typeof(
Person
));
926
var
person = Assert.IsType<
Person
>(bindingContext.Model);
935
var
model = new Person();
938
var metadata = GetMetadataForType(typeof(
Person
));
1022
var
model = new Person();
1042
var
model = new Person