Components_Dialogs_GenAIVisualizerDialog_razor.g.cs (30)
402__builder3.AddContent(30, Loc[nameof(Dialogs.GenAIPreviousButtonText)]
484__builder3.AddContent(38, Loc[nameof(Dialogs.GenAINextButtonText)]
809Loc[nameof(Dialogs.GenAIPreviewTabText)]
872Loc[nameof(Dialogs.GenAIRawTabText)]
983Loc[nameof(Dialogs.GenAIRawTabText)]
1950var tokenText = tokenTotal == null ? Loc[nameof(Dialogs.GenAINAText)] : tokenTotal.Value.ToString(CultureInfo.CurrentCulture);
1954tokenTooltip = Loc[nameof(Dialogs.GenAINAText)];
1958tokenTooltip = string.Format(CultureInfo.CurrentCulture, Loc[nameof(Dialogs.GenAIInputTokensText)], Content.InputTokens ?? 0) +
1960string.Format(CultureInfo.CurrentCulture, Loc[nameof(Dialogs.GenAIOutputTokensText)], Content.OutputTokens ?? 0);
1975__builder3.AddContent(225, Loc[nameof(Dialogs.GenAIDurationLabel)]
2008__builder3.AddContent(234, Loc[nameof(Dialogs.GenAITokensLabel)]
2121Loc[nameof(Dialogs.GenAIInputOutputTabText)]
2212__builder5.AddContent(258, Loc[nameof(Dialogs.GenAIToolsTabText)]
2345__builder5.AddContent(273, Loc[nameof(Dialogs.GenAIEvaluationsTabText)]
2449Loc[nameof(Dialogs.GenAIDetailsTabText)]
2521__builder3.AddContent(293, Loc[nameof(Dialogs.GenAIDisplayErrorMessageText)]
2567__builder3.AddContent(302, (MarkupString)string.Format(CultureInfo.CurrentCulture, Loc[nameof(Dialogs.GenAINoMessageContentMoreInformationMessage)], "https://aka.ms/aspire/telemetry-ai-content")
2593__builder3.AddContent(303, RenderMessageSection(Loc[nameof(Dialogs.GenAIInputHeaderText)], Content.InputMessages, Content.NoMessageContent)
2610__builder3.AddContent(304, RenderMessageSection(Loc[nameof(Dialogs.GenAIOutputHeaderText)], Content.OutputMessages, Content.NoMessageContent)
2637__builder3.AddContent(305, RenderMessageSection(Loc[nameof(Dialogs.GenAIErrorHeaderText)], [errorItem], Content.NoMessageContent)
2963__builder5.AddContent(350, Loc[nameof(Dialogs.GenAIToolParameterName)]
2976__builder5.AddContent(355, Loc[nameof(Dialogs.GenAIToolParameterType)]
2989__builder5.AddContent(360, Loc[nameof(Dialogs.GenAIToolParameterDescription)]
3216__builder5.AddContent(392, Loc[nameof(Dialogs.GenAIToolRequiredParameter)]
3247__builder5.AddContent(396, Loc[nameof(Dialogs.GenAIToolNoParameters)]
3290__builder3.AddContent(399, Loc[nameof(Dialogs.GenAINoTools)]
3398__builder3.AddContent(415, evaluation.ScoreValue is { } value ? FormatHelpers.FormatNumberWithOptionalDecimalPlaces(value, maxDecimalPlaces: 3) : Loc[nameof(Dialogs.GenAINAText)]
3436__builder3.AddContent(421, evaluation.ScoreLabel is { Length: > 0 } label ? label : Loc[nameof(Dialogs.GenAINAText)]
3774__builder2.AddContent(458, Loc[nameof(Dialogs.GenAINoMessageContent)]
3805__builder2.AddContent(461, Loc[nameof(Dialogs.GenAINoMessages)]
Components_Dialogs_HelpDialog_razor.g.cs (18)
268__builder2.AddContent(7, Loc[nameof(Dialogs.HelpDialogGetHelpLinkText)]
281__builder.AddContent(10, Loc[nameof(Dialogs.HelpDialogKeyboardShortcutsTitle)]
599new(Loc[nameof(Dialogs.HelpDialogCategoryPanels)],
601new KeyboardShortcut(["+"], Loc[nameof(Dialogs.HelpDialogIncreasePanelSize)]),
602new KeyboardShortcut(["-"], Loc[nameof(Dialogs.HelpDialogDecreasePanelSize)]),
603new KeyboardShortcut(["shift", "r"], Loc[nameof(Dialogs.HelpDialogResetPanelSize)]),
604new KeyboardShortcut(["shift", "t"], Loc[nameof(Dialogs.HelpDialogTogglePanelOrientation)]),
605new KeyboardShortcut(["shift", "x"], Loc[nameof(Dialogs.HelpDialogTogglePanelOpen)]),
607new(Loc[nameof(Dialogs.HelpDialogCategoryPageNavigation)],
609new KeyboardShortcut(["r"], Loc[nameof(Dialogs.HelpDialogGoToResources)]),
610new KeyboardShortcut(["c"], Loc[nameof(Dialogs.HelpDialogGoToConsoleLogs)]),
611new KeyboardShortcut(["s"], Loc[nameof(Dialogs.HelpDialogGoToStructuredLogs)]),
612new KeyboardShortcut(["t"], Loc[nameof(Dialogs.HelpDialogGoToTraces)]),
613new KeyboardShortcut(["m"], Loc[nameof(Dialogs.HelpDialogGoToMetrics)]),
615new(Loc[nameof(Dialogs.HelpDialogCategoryNavigation)],
617new KeyboardShortcut(["?"], Loc[nameof(Dialogs.HelpDialogGoToHelp)]),
618new KeyboardShortcut(["shift", "s"], Loc[nameof(Dialogs.HelpDialogGoToSettings)])
629IStringLocalizer<Dialogs>
Components_Dialogs_McpServerDialog_razor.g.cs (31)
276__builder.AddContent(5, Loc[nameof(Dialogs.McpServerDialogIntroduction)]
289__builder.AddContent(11, Loc[nameof(Dialogs.McpServerDialogLearnMoreLink)]
319__builder.AddContent(15, (MarkupString)string.Format(CultureInfo.CurrentCulture, Loc[nameof(Dialogs.McpServerDialogCliInstructionsAbove)], "https://aka.ms/aspire/mcp-add-cli")
371__builder.AddContent(25, (MarkupString)Loc[nameof(Dialogs.McpServerDialogCliInstructionsBelow)].ToString()
485Loc[nameof(Dialogs.McpServerDialogVSCodeTab)]
516__builder3.AddContent(42, Loc[nameof(Dialogs.McpServerDialogQuicklyAddVSCode)]
545Loc[nameof(Dialogs.McpServerDialogInstallButtonAriaLabelVSCode)]
556__builder3.AddContent(58, Loc[nameof(Dialogs.McpServerDialogInstallButtonAriaLabelVSCode)]
588Loc[nameof(Dialogs.McpServerDialogInstallButtonAriaLabelVSCodeInsiders)]
599__builder3.AddContent(75, Loc[nameof(Dialogs.McpServerDialogInstallButtonAriaLabelVSCodeInsiders)]
633__builder3.AddContent(81, Loc[nameof(Dialogs.McpServerDialogVSCodeApiKeyInstructions)]
665Loc[nameof(Dialogs.McpServerDialogApiKeyLabel)]
849__builder4.AddContent(116, Loc[nameof(Dialogs.McpServerDialogCopyButton)]
920__builder3.AddContent(135, Loc[nameof(Dialogs.McpServerDialogVSCodeWarningTitle)]
930__builder3.AddContent(137, Loc[nameof(Dialogs.McpServerDialogVSCodeWarningMessage)]
939__builder3.AddContent(139, (MarkupString)Loc[nameof(Dialogs.McpServerDialogVSCodeWarningInstructions)].ToString()
952__builder3.AddContent(145, Loc[nameof(Dialogs.McpServerDialogVSCodeWarningMoreInfo)]
979__builder5.AddContent(154, (MarkupString)Loc[nameof(Dialogs.McpServerDialogManuallyUpdatingAccordionHeading)].ToString()
995__builder5.AddContent(161, (MarkupString)string.Format(CultureInfo.CurrentCulture, Loc[nameof(Dialogs.McpServerDialogOtherOptionsVSCode)], "https://aka.ms/aspire/mcp-add-client-vscode")
1090Loc[nameof(Dialogs.McpServerDialogVisualStudioTab)]
1121__builder3.AddContent(178, Loc[nameof(Dialogs.McpServerDialogQuicklyAddVisualStudio)]
1150Loc[nameof(Dialogs.McpServerDialogInstallButtonAriaLabelVisualStudio)]
1161__builder3.AddContent(194, Loc[nameof(Dialogs.McpServerDialogInstallButtonAriaLabelVisualStudio)]
1195__builder3.AddContent(200, Loc[nameof(Dialogs.McpServerDialogVisualStudioApiKeyInstructions)]
1227Loc[nameof(Dialogs.McpServerDialogApiKeyLabel)]
1411__builder4.AddContent(235, Loc[nameof(Dialogs.McpServerDialogCopyButton)]
1441__builder5.AddContent(245, (MarkupString)Loc[nameof(Dialogs.McpServerDialogManuallyUpdatingAccordionHeading)].ToString()
1457__builder5.AddContent(252, (MarkupString)string.Format(CultureInfo.CurrentCulture, Loc[nameof(Dialogs.McpServerDialogOtherOptionsVisualStudio)], "https://aka.ms/aspire/mcp-add-client-vs")
1552Loc[nameof(Dialogs.McpServerDialogOtherTab)]
1583__builder3.AddContent(269, Loc[nameof(Dialogs.McpServerDialogOtherInstructions)]
1608Loc[nameof(Dialogs.McpServerDialogConfigurationHeading)]
Components_Dialogs_SettingsDialog_razor.g.cs (19)
278Loc[nameof(Dialogs.SettingsDialogTheme)]
349__builder5.AddContent(19, Loc[nameof(Dialogs.SettingsDialogSystemTheme)]
369__builder5.AddContent(24, Loc[nameof(Dialogs.SettingsDialogLightTheme)]
389__builder5.AddContent(29, Loc[nameof(Dialogs.SettingsDialogDarkTheme)]
458Loc[nameof(Dialogs.SettingsDialogLanguage)]
566__builder3.AddContent(47, Loc[nameof(Dialogs.SettingsDialogLanguagePageReloads)]
580__builder3.AddContent(52, Loc[nameof(Dialogs.SettingsDialogDashboardLogsAndTelemetry)]
635Loc[nameof(Dialogs.SettingsRemoveAllButtonText)]
644Loc[nameof(Dialogs.SettingsRemoveAllButtonText)]
653__builder4.AddContent(61, Loc[nameof(Dialogs.SettingsRemoveAllButtonText)]
726Loc[nameof(Dialogs.SettingsExportAllButtonText)]
735Loc[nameof(Dialogs.SettingsExportAllButtonText)]
744__builder4.AddContent(70, Loc[nameof(Dialogs.SettingsExportAllButtonText)]
777__builder3.AddContent(74, Loc[nameof(Dialogs.SettingsDialogTelemetryEnabledInfo)]
790Loc[nameof(Dialogs.SettingsDialogTelemetryInfoLinkTooltip)]
798__builder3.AddContent(80, Loc[nameof(Dialogs.SettingsDialogTelemetryInfoLinkText)]
820__builder3.AddContent(84, string.Format(Loc[nameof(Dialogs.SettingsDialogVersion)], VersionHelpers.DashboardDisplayVersion)
831__builder3.AddContent(87, string.Format(Loc[nameof(Dialogs.SettingsDialogDotNetRuntimeVersion)], System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription)
850IStringLocalizer<Dialogs>
Model\GenAI\GenAIItemViewModel.cs (13)
32public BadgeDetail GetCategoryBadge(IStringLocalizer<Dialogs> loc)
36return new BadgeDetail(loc[nameof(Dialogs.GenAIMessageCategoryStatus)], "output", s_errorIcon);
42return new BadgeDetail(loc[nameof(Dialogs.GenAIMessageCategoryToolCalls)], "output", s_toolCallsIcon);
46return new BadgeDetail(loc[nameof(Dialogs.GenAIMessageCategoryOutput)], "output", s_messageIcon);
51return new BadgeDetail(loc[nameof(Dialogs.GenAIMessageCategoryToolCalls)], "tool-calls", s_toolCallsIcon);
55return new BadgeDetail(loc[nameof(Dialogs.GenAIMessageCategoryToolResponse)], "tool-response", s_messageIcon);
58return new BadgeDetail(loc[nameof(Dialogs.GenAIMessageCategoryMessage)], "message", s_messageIcon);
61public BadgeDetail GetTitleBadge(IStringLocalizer<Dialogs> loc)
65GenAIItemType.SystemMessage => new BadgeDetail(loc[nameof(Dialogs.GenAIMessageTitleSystem)], "system", s_systemIcon),
66GenAIItemType.UserMessage => new BadgeDetail(loc[nameof(Dialogs.GenAIMessageTitleUser)], "user", s_personIcon),
67GenAIItemType.AssistantMessage or GenAIItemType.OutputMessage => new BadgeDetail(loc[nameof(Dialogs.GenAIMessageTitleAssistant)], "assistant", s_personIcon),
68GenAIItemType.ToolMessage => new BadgeDetail(loc[nameof(Dialogs.GenAIMessageTitleTool)], "tool", s_toolIcon),
69GenAIItemType.Error => new BadgeDetail(loc[nameof(Dialogs.GenAIMessageTitleError)], "error", s_cloudErrorIcon),