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