8 writes to MaxFileSize
Aspire.Hosting (2)
Ats\InteractionExports.cs (2)
270
MaxFileSize
= input.MaxFileSize,
321
MaxFileSize
= options?.MaxFileSize,
Aspire.Hosting.Tests (4)
Dashboard\DashboardServiceTests.cs (1)
822
? new InteractionInput { Name = "TestInput", Label = "Test Input", InputType = inputType,
MaxFileSize
= inputMaxFileSizeMB * 1024 * 1024 }
InteractionServiceTests.cs (3)
1562
MaxFileSize
= 0
1569
MaxFileSize
= -1
1580
MaxFileSize
= 1024 * 1024
Stress.AppHost (2)
InteractionCommands.cs (2)
998
MaxFileSize
= 5 * 1024 * 1024 // 5 MB
1043
MaxFileSize
= 1 * 1024 * 1024, // 1 MB
9 references to MaxFileSize
Aspire.Hosting (5)
Ats\InteractionExports.cs (1)
270
MaxFileSize = input.
MaxFileSize
,
Dashboard\DashboardService.cs (3)
236
if (input.
MaxFileSize
!= null)
240
? Math.Min(input.
MaxFileSize
.Value, maxFileUploadSize.Value)
241
: input.
MaxFileSize
.Value;
Pipelines\PipelineActivityReporter.cs (1)
354
MaxFileSize = input.
MaxFileSize
Aspire.Hosting.RemoteHost.Tests (2)
AtsExportsTests.cs (2)
155
Assert.Equal(1024, result.Inputs["artifact"].
MaxFileSize
);
180
Assert.Equal(2048, input.
MaxFileSize
);
Aspire.Hosting.Tests (2)
InteractionServiceTests.cs (2)
1583
Assert.Equal(1024 * 1024, input.
MaxFileSize
);
1595
Assert.Null(input.
MaxFileSize
);