3 implementations of Size
Aspire.Dashboard.Components.Tests (1)
Dialogs\InteractionsInputDialogTests.cs (1)
802public long Size => 0;
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\BrowserFileFromFormFile.cs (1)
16public long Size => formFile.Length;
Microsoft.AspNetCore.Components.Web (1)
Forms\InputFile\BrowserFile.cs (1)
18public long Size
5 references to Size
Aspire.Dashboard (4)
Components\Controls\MissingParametersPanel.razor.cs (2)
233if (file.Size > maxFileSize) 252file.Size,
Components\Dialogs\InteractionsInputDialog.razor.cs (2)
255if (file.Size > maxFileSize) 264var fileId = await Content.DashboardClient.UploadFileAsync(stream, file.Name, file.Size, Content.Interaction.InteractionId, inputModel.Input.Name, _disposalCts.Token);
Microsoft.AspNetCore.Components.Web (1)
Forms\InputFile\IBrowserFile.cs (1)
41/// will throw if the file's size, as specified by <see cref="Size"/> is larger than