3 implementations of Size
Aspire.Dashboard.Components.Tests (1)
Dialogs\InteractionsInputDialogTests.cs (1)
168public 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
3 references to Size
Aspire.Dashboard (2)
Components\Dialogs\InteractionsInputDialog.razor.cs (2)
234if (file.Size > maxFileSize) 243var 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