23 references to Add
Aspire.Hosting.Redis (1)
RedisBuilderExtensions.cs (1)
267content.Add(fileContent, "file", "RedisInsight_connections.json");
Microsoft.AspNetCore.Http.Extensions.Tests (15)
RequestDelegateGenerator\RequestDelegateCreationTests.Filters.cs (1)
227form.Add(fileContent, "file", "file.txt");
RequestDelegateGenerator\RequestDelegateCreationTests.Forms.cs (14)
27form.Add(fileContent, "file", "file.txt"); 62form.Add(fileContent, "file", "file.txt"); 97form.Add(fileContent, "file", "file.txt"); 135form.Add(fileContent, "file", "file.txt"); 172form.Add(fileContent1, "file1", "file1.txt"); 173form.Add(fileContent2, "file2", "file2.txt"); 214form.Add(fileContent, "file1", "file.txt"); 251form.Add(fileContent, "my_file", "file.txt"); 287form.Add(fileContent, "file", "file.txt"); 360form.Add(fileContent, "some-other-file", "file.txt"); 394form.Add(fileContent, "file", "file.txt"); 443form.Add(fileContent, "file", "file.txt"); 483form.Add(fileContent, "file", "file.txt"); 820form.Add(fileContent, "file", "file.txt");
Microsoft.AspNetCore.Mvc.FunctionalTests (7)
FormFileUploadTest.cs (5)
37content.Add(new StringContent("John's biography content"), "Biography", "Bio.txt"); 61content.Add(new StringContent("camera spec1 file contents"), "Specs[0].Value", "camera_spec1.txt"); 62content.Add(new StringContent("camera spec2 file contents"), "Specs[0].Value", "camera_spec2.txt"); 64content.Add(new StringContent("battery spec1 file contents"), "Specs[1].Value", "battery_spec1.txt"); 65content.Add(new StringContent("battery spec2 file contents"), "Specs[1].Value", "battery_spec2.txt");
SimpleWithWebApplicationBuilderTests.cs (2)
264content.Add(new StringContent(new string('a', 42)), "file", "file.txt"); 286content.Add(new StringContent(new string('a', 42)), "file", "file.txt");