3 implementations of Name
Aspire.Dashboard.Components.Tests (1)
Dialogs\InteractionsInputDialogTests.cs (1)
799public 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;
8 references to Name
Aspire.Dashboard (8)
Components\Controls\MissingParametersPanel.razor.cs (4)
220Name = file.Name, 234file.Name, 239fileReferences.Add(new FileReferenceViewModel { Id = fileId, Name = file.Name }); 245Name = file.Name,
Components\Dialogs\InteractionsInputDialog.razor.cs (4)
258fileReferences.Add(new FileReferenceViewModel { Name = file.Name, ErrorMessage = string.Format(CultureInfo.CurrentCulture, Loc[nameof(Resources.Dialogs.InteractionFileExceedsMaxSize)], FormatHelpers.FormatFileSize(maxFileSize)) }); 265var fileId = await Content.DashboardClient.UploadFileAsync(stream, file.Name, file.Size, Content.Interaction.InteractionId, inputModel.Input.Name, _disposalCts.Token); 266fileReferences.Add(new FileReferenceViewModel { Id = fileId, Name = file.Name }); 270fileReferences.Add(new FileReferenceViewModel { Name = file.Name, ErrorMessage = Loc[nameof(Resources.Dialogs.InteractionFileUploadFailed)] });