11 references to DashboardOptions
Aspire.Dashboard (11)
Components\Dialogs\McpServerDialog.razor.cs (7)
67if ((DashboardOptions.Value.Mcp.PublicUrl ?? DashboardOptions.Value.Mcp.EndpointUrl) is { Length: > 0 } mcpUrl) 84if (DashboardOptions.Value.Mcp.AuthMode == McpAuthMode.ApiKey) 86_mcpConfigProperties.Add(new McpConfigPropertyViewModel { Name = $"{McpApiKeyAuthenticationHandler.ApiKeyHeaderName} (header)", Value = DashboardOptions.Value.Mcp.PrimaryApiKey! }); 98private bool McpEnabled => !DashboardOptions.Value.Mcp.Disabled.GetValueOrDefault(); 100private bool IsCliMcpMode => DashboardOptions.Value.Mcp.UseCliMcp == true; 109if (DashboardOptions.Value.Mcp.AuthMode == McpAuthMode.ApiKey)
Components_Dialogs_McpServerDialog_razor.g.cs (4)
697DashboardOptions.Value.Mcp.PrimaryApiKey 760FluentUIExtensions.GetClipboardCopyAdditionalAttributes(DashboardOptions.Value.Mcp.PrimaryApiKey, ControlsStringsLoc[nameof(ControlsStrings.GridValueCopyToClipboard)], ControlsStringsLoc[nameof(ControlsStrings.GridValueCopied)]) 1259DashboardOptions.Value.Mcp.PrimaryApiKey 1322FluentUIExtensions.GetClipboardCopyAdditionalAttributes(DashboardOptions.Value.Mcp.PrimaryApiKey, ControlsStringsLoc[nameof(ControlsStrings.GridValueCopyToClipboard)], ControlsStringsLoc[nameof(ControlsStrings.GridValueCopied)])