3 implementations of Name
Aspire.Dashboard.Components.Tests (1)
Dialogs\InteractionsInputDialogTests.cs (1)
166public string Name { get; } = name;
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\BrowserFileFromFormFile.cs (1)
12public string Name => formFile.FileName;
Microsoft.AspNetCore.Components.Web (1)
Forms\InputFile\BrowserFile.cs (1)
14public string Name { get; set; } = string.Empty;
4 references to Name
Aspire.Dashboard (4)
Components\Dialogs\InteractionsInputDialog.razor.cs (4)
236fileReferences.Add(new FileReferenceViewModel { Name = file.Name, ErrorMessage = string.Format(CultureInfo.CurrentCulture, Loc[nameof(Resources.Dialogs.InteractionFileExceedsMaxSize)], FormatHelpers.FormatFileSize(maxFileSize)) }); 243var fileId = await Content.DashboardClient.UploadFileAsync(stream, file.Name, file.Size, Content.Interaction.InteractionId, inputModel.Input.Name, _disposalCts.Token); 244fileReferences.Add(new FileReferenceViewModel { Id = fileId, Name = file.Name }); 248fileReferences.Add(new FileReferenceViewModel { Name = file.Name, ErrorMessage = Loc[nameof(Resources.Dialogs.InteractionFileUploadFailed)] });