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