16 writes to PrimaryAction
Aspire.Dashboard (12)
Components\Controls\Chart\MetricTable.razor.cs (1)
110PrimaryAction = DialogsLoc[nameof(Dashboard.Resources.Dialogs.DialogCloseButtonText)],
Components\Controls\TelemetryEmptyContent.razor.cs (1)
30PrimaryAction = Loc[nameof(Resources.Dialogs.DialogCloseButtonText)],
Components\Interactions\InteractionsProvider.cs (2)
540PrimaryAction = ResolvedPrimaryButtonText(interaction, intent), 594dialogParameters.PrimaryAction = null;
Components\Layout\AspirePageContentLayout.razor.cs (1)
101PrimaryAction = null,
Components\Layout\MainLayout.razor.cs (4)
362PrimaryAction = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogClose)], 420PrimaryAction = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogClose)], 445PrimaryAction = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogClose)].Value, 470PrimaryAction = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogClose)].Value,
Model\DashboardDialogService.cs (1)
38PrimaryAction = CloseButtonText,
Model\TraceLinkHelpers.cs (1)
55PrimaryAction = loc[nameof(Dialogs.OpenSpanDialogCancelButtonText)],
Utils\FilterHelpers.cs (1)
112PrimaryAction = null,
Aspire.Dashboard.Components.Tests (4)
Dialogs\InteractionMessageBoxDialogTests.cs (2)
35PrimaryAction = "Continue", 63PrimaryAction = string.Empty,
Dialogs\InteractionsInputDialogTests.cs (1)
416PrimaryAction = "Continue",
Dialogs\InteractionsTerminalDialogTests.cs (1)
84new DialogParameters { PrimaryAction = buttonText, UseCustomFooter = true });
3 references to PrimaryAction
Aspire.Dashboard (2)
Model\DashboardDialogService.cs (2)
183options.Footer.PrimaryAction.Label = parameters.PrimaryAction; 184options.Footer.PrimaryAction.Visible = !parameters.UseCustomFooter && !string.IsNullOrEmpty(parameters.PrimaryAction);
Aspire.Dashboard.Components.Tests (1)
Interactions\InteractionsProviderTests.Terminal.cs (1)
59Assert.Equal(string.IsNullOrEmpty(buttonText) ? null : buttonText, parameters.PrimaryAction);