14 references to MaxFileCount
Aspire.Hosting (1)
src\Shared\InteractionHelpers.cs (1)
35
public static int GetMaxFileCount(bool allowMultipleFiles) => allowMultipleFiles ?
MaxFileCount
: 1;
Aspire.Hosting.Tests (13)
Backchannel\AppHostRpcTargetUploadTests.cs (1)
22
fileUploadStore.StartInteraction(interactionId, [(inputName, InteractionHelpers.
MaxFileCount
)]);
Dashboard\DashboardServiceTests.cs (7)
992
fileUploadStore.StartInteraction(1, [("File", InteractionHelpers.
MaxFileCount
)]);
1074
fileUploadStore.StartInteraction(1, [("File", InteractionHelpers.
MaxFileCount
)]);
1095
fileUploadStore.StartInteraction(1, [("File", InteractionHelpers.
MaxFileCount
)]);
1106
fileUploadStore.StartInteraction(1, [("File", InteractionHelpers.
MaxFileCount
)]);
1136
fileUploadStore.StartInteraction(1, [("File", InteractionHelpers.
MaxFileCount
)]);
1189
fileUploadStore.StartInteraction(1, [("File", InteractionHelpers.
MaxFileCount
)]);
1367
fileUploadStore.StartInteraction(1, [("CertInput", InteractionHelpers.
MaxFileCount
)]);
Dashboard\InteractionFileUploadStoreTests.cs (2)
334
[InlineData(InteractionHelpers.
MaxFileCount
)]
545
int maxFileCount = InteractionHelpers.
MaxFileCount
)
InteractionServiceTests.cs (3)
1513
[InlineData(true, InteractionHelpers.
MaxFileCount
, true)]
1514
[InlineData(true, InteractionHelpers.
MaxFileCount
+ 1, false)]
1547
var maxFileCount = allowMultipleFiles ? InteractionHelpers.
MaxFileCount
: 1;