10 references to DashboardOptions
Aspire.Dashboard (10)
Components\Dialogs\McpServerDialog.razor.cs (6)
49if ((DashboardOptions.Value.Mcp.PublicUrl ?? DashboardOptions.Value.Mcp.EndpointUrl) is { Length: > 0 } mcpUrl) 67if (DashboardOptions.Value.Mcp.AuthMode == McpAuthMode.ApiKey) 69_mcpConfigProperties.Add(new McpConfigPropertyViewModel { Name = $"{McpApiKeyAuthenticationHandler.ApiKeyHeaderName} (header)", Value = DashboardOptions.Value.Mcp.PrimaryApiKey! }); 80private bool McpEnabled => !DashboardOptions.Value.Mcp.Disabled.GetValueOrDefault() && !string.IsNullOrEmpty(_mcpUrl); 89if (DashboardOptions.Value.Mcp.AuthMode == McpAuthMode.ApiKey)
Components_Dialogs_McpServerDialog_razor.g.cs (4)
562DashboardOptions.Value.Mcp.PrimaryApiKey 625FluentUIExtensions.GetClipboardCopyAdditionalAttributes(DashboardOptions.Value.Mcp.PrimaryApiKey, ControlsStringsLoc[nameof(ControlsStrings.GridValueCopyToClipboard)], ControlsStringsLoc[nameof(ControlsStrings.GridValueCopied)]) 1100DashboardOptions.Value.Mcp.PrimaryApiKey 1163FluentUIExtensions.GetClipboardCopyAdditionalAttributes(DashboardOptions.Value.Mcp.PrimaryApiKey, ControlsStringsLoc[nameof(ControlsStrings.GridValueCopyToClipboard)], ControlsStringsLoc[nameof(ControlsStrings.GridValueCopied)])