23 references to Layout
Aspire.Dashboard (21)
Components\Layout\AspirePageContentLayout.razor.cs (1)
79MobileToolbarButtonText ?? LayoutLoc[nameof(Resources.Layout.PageLayoutViewFilters)]),
Components\Layout\MainLayout.razor.cs (10)
48public required IStringLocalizer<Resources.Layout> Loc { get; init; } 127unsecuredEndpointsMessage.AppendLine(Loc[nameof(Resources.Layout.MessageUnsecuredEndpointTelemetryBody)]); 131unsecuredEndpointsMessage.AppendLine(Loc[nameof(Resources.Layout.MessageUnsecuredEndpointMcpBody)]); 135unsecuredEndpointsMessage.AppendLine(Loc[nameof(Resources.Layout.MessageUnsecuredEndpointApiBody)]); 150options.Title = Loc[nameof(Resources.Layout.MessageUnsecuredEndpointTitle)]; 154Text = Loc[nameof(Resources.Layout.MessageUnsecuredEndpointLink)], 252Title = Loc[nameof(Resources.Layout.MainLayoutAspireDashboardHelpLink)], 253PrimaryAction = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogClose)], 287Title = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogTitle)], 288PrimaryAction = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogClose)].Value,
Components\Layout\MobileNavMenu.razor.cs (9)
23public required IStringLocalizer<Resources.Layout> Loc { get; init; } 42Loc[nameof(Resources.Layout.NavMenuResourcesTab)], 49Loc[nameof(Resources.Layout.NavMenuConsoleLogsTab)], 57Loc[nameof(Resources.Layout.NavMenuStructuredLogsTab)], 64Loc[nameof(Resources.Layout.NavMenuTracesTab)], 71Loc[nameof(Resources.Layout.NavMenuMetricsTab)], 78Loc[nameof(Resources.Layout.MainLayoutAspireRepoLink)], 87Loc[nameof(Resources.Layout.MainLayoutAspireDashboardHelpLink)], 102Loc[nameof(Resources.Layout.MainLayoutLaunchSettings)],
Resources\Layout.Designer.cs (1)
42global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Aspire.Dashboard.Resources.Layout", typeof(Layout).Assembly);
Aspire.Dashboard.Tests (2)
Integration\Playwright\AppBarTests.cs (2)
36var settingsButton = page.GetByRole(AriaRole.Button, new PageGetByRoleOptions { Name = Layout.MainLayoutLaunchSettings }); 51var closeButton = page.GetByRole(AriaRole.Button, new PageGetByRoleOptions { Name = Layout.MainLayoutSettingsDialogClose });