1 instantiation of Person
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Binders\BodyModelBinderTests.cs (1)
29.Returns(InputFormatterResult.SuccessAsync(new Person()))
45 references to Person
Microsoft.AspNetCore.Mvc.Core.Test (45)
ModelBinding\Binders\BodyModelBinderTests.cs (45)
34provider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 37typeof(Person), 56provider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 58var bindingContext = GetBindingContext(typeof(Person), metadataProvider: provider); 80provider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 82var bindingContext = GetBindingContext(typeof(Person), metadataProvider: provider); 105provider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 107var bindingContext = GetBindingContext(typeof(Person), metadataProvider: provider); 130provider.ForType<Person>().BindingDetails(d => 138typeof(Person), 173provider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 176typeof(Person), 201provider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 204typeof(Person), 229provider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 232typeof(Person), 257metadataProvider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 260var bindingContext = GetBindingContext(typeof(Person), httpContext, metadataProvider); 305metadataProvider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 307var bindingContext = GetBindingContext(typeof(Person), httpContext, metadataProvider); 334metadataProvider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 336var bindingContext = GetBindingContext(typeof(Person), httpContext, metadataProvider); 376metadataProvider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 378var bindingContext = GetBindingContext(typeof(Person), httpContext, metadataProvider); 405metadataProvider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 407var bindingContext = GetBindingContext(typeof(Person), httpContext, metadataProvider); 452metadataProvider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 454var bindingContext = GetBindingContext(typeof(Person), httpContext, metadataProvider); 487metadataProvider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 489var bindingContext = GetBindingContext(typeof(Person), httpContext, metadataProvider); 516metadataProvider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 518var bindingContext = GetBindingContext(typeof(Person), httpContext, metadataProvider); 539provider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 542typeof(Person), 577provider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 578var bindingContext = GetBindingContext(typeof(Person), metadataProvider: provider); 602provider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 603var bindingContext = GetBindingContext(typeof(Person), metadataProvider: provider); 613Assert.Equal($"Attempting to bind model of type '{typeof(Person)}' using the name 'someName' in request data ...", writeList[0].State.ToString()); 631provider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 632var bindingContext = GetBindingContext(typeof(Person), metadataProvider: provider); 644$"Attempting to bind model of type '{typeof(Person)}' using the name 'someName' in request data ...", write.State.ToString()), 654$"Done attempting to bind model of type '{typeof(Person)}' using the name 'someName'.", write.State.ToString())); 663provider.ForType<Person>().BindingDetails(d => d.BindingSource = BindingSource.Body); 665typeof(Person),