Components_Dialogs_GenAIVisualizerDialog_razor.g.cs (30)
383__builder3.AddContent(25, Loc[nameof(Dialogs.GenAIPreviousButtonText)]
465__builder3.AddContent(33, Loc[nameof(Dialogs.GenAINextButtonText)]
790Loc[nameof(Dialogs.GenAIPreviewTabText)]
853Loc[nameof(Dialogs.GenAIRawTabText)]
964Loc[nameof(Dialogs.GenAIRawTabText)]
1931var tokenText = tokenTotal == null ? Loc[nameof(Dialogs.GenAINAText)] : tokenTotal.Value.ToString(CultureInfo.CurrentCulture);
1935tokenTooltip = Loc[nameof(Dialogs.GenAINAText)];
1939tokenTooltip = string.Format(CultureInfo.CurrentCulture, Loc[nameof(Dialogs.GenAIInputTokensText)], Content.InputTokens ?? 0) +
1941string.Format(CultureInfo.CurrentCulture, Loc[nameof(Dialogs.GenAIOutputTokensText)], Content.OutputTokens ?? 0);
1956__builder3.AddContent(220, Loc[nameof(Dialogs.GenAIDurationLabel)]
1989__builder3.AddContent(229, Loc[nameof(Dialogs.GenAITokensLabel)]
2102Loc[nameof(Dialogs.GenAIInputOutputTabText)]
2165Loc[nameof(Dialogs.GenAIDetailsTabText)]
2240__builder5.AddContent(260, Loc[nameof(Dialogs.GenAIToolsTabText)]
2365__builder5.AddContent(275, Loc[nameof(Dialogs.GenAIEvaluationsTabText)]
2479__builder3.AddContent(290, Loc[nameof(Dialogs.GenAIDisplayErrorMessageText)]
2525__builder3.AddContent(299, (MarkupString)string.Format(CultureInfo.CurrentCulture, Loc[nameof(Dialogs.GenAINoMessageContentMoreInformationMessage)], "https://aka.ms/aspire/telemetry-ai-content")
2551__builder3.AddContent(300, RenderMessageSection(Loc[nameof(Dialogs.GenAIInputHeaderText)], Content.InputMessages, Content.NoMessageContent)
2568__builder3.AddContent(301, RenderMessageSection(Loc[nameof(Dialogs.GenAIOutputHeaderText)], Content.OutputMessages, Content.NoMessageContent)
2595__builder3.AddContent(302, RenderMessageSection(Loc[nameof(Dialogs.GenAIErrorHeaderText)], [errorItem], Content.NoMessageContent)
2903__builder5.AddContent(345, Loc[nameof(Dialogs.GenAIToolParameterName)]
2916__builder5.AddContent(350, Loc[nameof(Dialogs.GenAIToolParameterType)]
2929__builder5.AddContent(355, Loc[nameof(Dialogs.GenAIToolParameterDescription)]
3064__builder5.AddContent(384, Loc[nameof(Dialogs.GenAIToolRequiredParameter)]
3095__builder5.AddContent(388, Loc[nameof(Dialogs.GenAIToolNoParameters)]
3138__builder3.AddContent(391, Loc[nameof(Dialogs.GenAINoTools)]
3246__builder3.AddContent(407, evaluation.ScoreValue is { } value ? FormatHelpers.FormatNumberWithOptionalDecimalPlaces(value, maxDecimalPlaces: 3) : Loc[nameof(Dialogs.GenAINAText)]
3284__builder3.AddContent(413, evaluation.ScoreLabel is { Length: > 0 } label ? label : Loc[nameof(Dialogs.GenAINAText)]
3622__builder2.AddContent(450, Loc[nameof(Dialogs.GenAINoMessageContent)]
3653__builder2.AddContent(453, Loc[nameof(Dialogs.GenAINoMessages)]
Components_Dialogs_HelpDialog_razor.g.cs (18)
238__builder2.AddContent(7, Loc[nameof(Dialogs.HelpDialogGetHelpLinkText)]
251__builder.AddContent(10, Loc[nameof(Dialogs.HelpDialogKeyboardShortcutsTitle)]
569new(Loc[nameof(Dialogs.HelpDialogCategoryPanels)],
571new KeyboardShortcut(["+"], Loc[nameof(Dialogs.HelpDialogIncreasePanelSize)]),
572new KeyboardShortcut(["-"], Loc[nameof(Dialogs.HelpDialogDecreasePanelSize)]),
573new KeyboardShortcut(["shift", "r"], Loc[nameof(Dialogs.HelpDialogResetPanelSize)]),
574new KeyboardShortcut(["shift", "t"], Loc[nameof(Dialogs.HelpDialogTogglePanelOrientation)]),
575new KeyboardShortcut(["shift", "x"], Loc[nameof(Dialogs.HelpDialogTogglePanelOpen)]),
577new(Loc[nameof(Dialogs.HelpDialogCategoryPageNavigation)],
579new KeyboardShortcut(["r"], Loc[nameof(Dialogs.HelpDialogGoToResources)]),
580new KeyboardShortcut(["c"], Loc[nameof(Dialogs.HelpDialogGoToConsoleLogs)]),
581new KeyboardShortcut(["s"], Loc[nameof(Dialogs.HelpDialogGoToStructuredLogs)]),
582new KeyboardShortcut(["t"], Loc[nameof(Dialogs.HelpDialogGoToTraces)]),
583new KeyboardShortcut(["m"], Loc[nameof(Dialogs.HelpDialogGoToMetrics)]),
585new(Loc[nameof(Dialogs.HelpDialogCategoryNavigation)],
587new KeyboardShortcut(["?"], Loc[nameof(Dialogs.HelpDialogGoToHelp)]),
588new KeyboardShortcut(["shift", "s"], Loc[nameof(Dialogs.HelpDialogGoToSettings)])
599IStringLocalizer<Dialogs>
Components_Dialogs_McpServerDialog_razor.g.cs (30)
252__builder.AddContent(5, Loc[nameof(Dialogs.McpServerDialogIntroduction)]
265__builder.AddContent(11, Loc[nameof(Dialogs.McpServerDialogLearnMoreLink)]
366Loc[nameof(Dialogs.McpServerDialogVSCodeTab)]
397__builder3.AddContent(30, Loc[nameof(Dialogs.McpServerDialogQuicklyAddVSCode)]
426Loc[nameof(Dialogs.McpServerDialogInstallButtonAriaLabelVSCode)]
437__builder3.AddContent(46, Loc[nameof(Dialogs.McpServerDialogInstallButtonAriaLabelVSCode)]
469Loc[nameof(Dialogs.McpServerDialogInstallButtonAriaLabelVSCodeInsiders)]
480__builder3.AddContent(63, Loc[nameof(Dialogs.McpServerDialogInstallButtonAriaLabelVSCodeInsiders)]
498__builder3.AddContent(70, Loc[nameof(Dialogs.McpServerDialogVSCodeApiKeyInstructions)]
530Loc[nameof(Dialogs.McpServerDialogApiKeyLabel)]
714__builder4.AddContent(105, Loc[nameof(Dialogs.McpServerDialogCopyButton)]
777__builder3.AddContent(124, Loc[nameof(Dialogs.McpServerDialogVSCodeWarningTitle)]
787__builder3.AddContent(126, Loc[nameof(Dialogs.McpServerDialogVSCodeWarningMessage)]
796__builder3.AddContent(128, (MarkupString)Loc[nameof(Dialogs.McpServerDialogVSCodeWarningInstructions)].ToString()
809__builder3.AddContent(134, Loc[nameof(Dialogs.McpServerDialogVSCodeWarningMoreInfo)]
836__builder5.AddContent(143, (MarkupString)Loc[nameof(Dialogs.McpServerDialogManuallyUpdatingAccordionHeading)].ToString()
852__builder5.AddContent(150, (MarkupString)string.Format(CultureInfo.CurrentCulture, Loc[nameof(Dialogs.McpServerDialogOtherOptionsVSCode)], "https://aka.ms/aspire/mcp-add-client-vscode")
947Loc[nameof(Dialogs.McpServerDialogVisualStudioTab)]
978__builder3.AddContent(167, Loc[nameof(Dialogs.McpServerDialogQuicklyAddVisualStudio)]
1007Loc[nameof(Dialogs.McpServerDialogInstallButtonAriaLabelVisualStudio)]
1018__builder3.AddContent(183, Loc[nameof(Dialogs.McpServerDialogInstallButtonAriaLabelVisualStudio)]
1036__builder3.AddContent(190, Loc[nameof(Dialogs.McpServerDialogVisualStudioApiKeyInstructions)]
1068Loc[nameof(Dialogs.McpServerDialogApiKeyLabel)]
1252__builder4.AddContent(225, Loc[nameof(Dialogs.McpServerDialogCopyButton)]
1274__builder5.AddContent(235, (MarkupString)Loc[nameof(Dialogs.McpServerDialogManuallyUpdatingAccordionHeading)].ToString()
1290__builder5.AddContent(242, (MarkupString)string.Format(CultureInfo.CurrentCulture, Loc[nameof(Dialogs.McpServerDialogOtherOptionsVisualStudio)], "https://aka.ms/aspire/mcp-add-client-vs")
1385Loc[nameof(Dialogs.McpServerDialogOtherTab)]
1416__builder3.AddContent(259, Loc[nameof(Dialogs.McpServerDialogOtherDescription)]
1428__builder3.AddContent(263, Loc[nameof(Dialogs.McpServerDialogOtherInstructions)]
1453Loc[nameof(Dialogs.McpServerDialogConfigurationHeading)]
Components_Dialogs_SettingsDialog_razor.g.cs (16)
260Loc[nameof(Dialogs.SettingsDialogTheme)]
331__builder5.AddContent(19, Loc[nameof(Dialogs.SettingsDialogSystemTheme)]
351__builder5.AddContent(24, Loc[nameof(Dialogs.SettingsDialogLightTheme)]
371__builder5.AddContent(29, Loc[nameof(Dialogs.SettingsDialogDarkTheme)]
440Loc[nameof(Dialogs.SettingsDialogLanguage)]
548__builder3.AddContent(47, Loc[nameof(Dialogs.SettingsDialogLanguagePageReloads)]
562__builder3.AddContent(52, Loc[nameof(Dialogs.SettingsDialogDashboardLogsAndTelemetry)]
617Loc[nameof(Dialogs.SettingsRemoveAllButtonText)]
626Loc[nameof(Dialogs.SettingsRemoveAllButtonText)]
635__builder4.AddContent(61, Loc[nameof(Dialogs.SettingsRemoveAllButtonText)]
668__builder3.AddContent(65, Loc[nameof(Dialogs.SettingsDialogTelemetryEnabledInfo)]
681Loc[nameof(Dialogs.SettingsDialogTelemetryInfoLinkTooltip)]
689__builder3.AddContent(71, Loc[nameof(Dialogs.SettingsDialogTelemetryInfoLinkText)]
711__builder3.AddContent(75, string.Format(Loc[nameof(Dialogs.SettingsDialogVersion)], VersionHelpers.DashboardDisplayVersion)
722__builder3.AddContent(78, string.Format(Loc[nameof(Dialogs.SettingsDialogDotNetRuntimeVersion)], System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription)
741IStringLocalizer<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),