14 instantiations of FromForm
Microsoft.AspNetCore.Http.Extensions.Tests (14)
RequestDelegateFactoryTests.cs (7)
643[FromForm(Name = "form")] StringValues? formValues) => 668[FromForm(Name = "form")] StringValues? formValues) => 1995void TestFormWithAttributeAndJson([FromForm] string value1, Todo value2) { } 1999void TestJsonAndFormFileWithAttribute(Todo value1, [FromForm] IFormFile value2) { } 2001void TestJsonAndFormWithAttribute(Todo value1, [FromForm] string value2) { } 2022void TestAction([FromForm(Name = "foo")] IFormFileCollection formFiles) 2071void TestAction([FromForm(Name = "foo")] IFormCollection formCollection)
RequestDelegateFactoryTests.FormMapping.cs (7)
21static void TestAction([FromForm] Dictionary<string, string> args) { } 68static void TestAction([FromForm(Name = "shouldSetKeyCorrectly")] Dictionary<string, string> args) { } 115static void TestAction([FromForm] Dictionary<string, string> args) { } 181void TestAction([FromForm] TodoRecord args) { capturedTodo = args; }; 211void TestAction([FromForm] Employee args) { capturedEmployee = args; }; 250void TestAction([FromForm] Employee args) { capturedEmployee = args; }; 289void TestAction([FromForm] FormFileDto args) { capturedArgument = args; };