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