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