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