13 references to TestModel
Microsoft.AspNetCore.Mvc.Core.Test (13)
ApplicationModels\InferParameterBindingInfoConventionTest.cs (13)
527var model = GetParameterModel<TestModel>(actionModel); 971public IActionResult ComplexTypeModel(TestModel model) => null; 996public IActionResult ComplexTypeModelWithCancellationToken(TestModel model, CancellationToken cancellationToken) => null; 1000public IActionResult RequiredComplexType(TestModel model) => new OkResult(); 1003public IActionResult NullableComplexType(TestModel? model) => new OkResult(); 1007public IActionResult ComplexTypeWithDefaultValue(TestModel model = null) => null; 1056public IActionResult CollectionOfComplexTypes(IList<TestModel> parameter) => null; 1058public IActionResult IEnumerableOfComplexTypes(IEnumerable<TestModel> parameter) => null; 1123public TestModel TestModel { get; set; } 1162public TestModel TestProperty { get; set; } 1167public IActionResult SomeAction([FromQuery] TestModel test) => null; 1182public IActionResult MultipleInferred(TestModel a, Car b) => null; 1184public IActionResult InferredAndSpecified(TestModel a, [FromBody] int b) => null;