3 implementations of Size
Aspire.Dashboard.Components.Tests (1)
Dialogs\InteractionsInputDialogTests.cs (1)
801public 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)
216if (file.Size > maxFileSize) 235file.Size,
Components\Dialogs\InteractionsInputDialog.razor.cs (2)
256if (file.Size > maxFileSize) 265var 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