5 implementations of IsEnabled
Aspire.Dashboard (1)
ServiceClient\DashboardClient.cs (1)
227public bool IsEnabled => _state is not StateDisabled;
Aspire.Dashboard.Components.Tests (1)
tests\Shared\TestDashboardClient.cs (1)
21public bool IsEnabled { get; }
Aspire.Dashboard.Tests (3)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
39public bool IsEnabled => true;
ResourceOutgoingPeerResolverTests.cs (1)
414public bool IsEnabled => true;
tests\Shared\TestDashboardClient.cs (1)
21public bool IsEnabled { get; }
19 references to IsEnabled
Aspire.Dashboard (19)
Components\Controls\ApplicationName.razor.cs (1)
31if (DashboardClient.IsEnabled && !DashboardClient.WhenConnected.IsCompletedSuccessfully)
Components\Controls\PropertyValues\ResourceNameButtonValue.razor.cs (1)
40if (DashboardClient.IsEnabled)
Components\Dialogs\ManageDataDialog.razor.cs (2)
80if (DashboardClient.IsEnabled) 522if (DashboardClient.IsEnabled)
Components\Interactions\InteractionsProvider.cs (1)
95if (!DashboardClient.IsEnabled)
Components\Layout\MainLayout.razor.cs (1)
99if (!DashboardClient.IsEnabled)
Components\Layout\MobileNavMenu.razor.cs (1)
39if (DashboardClient.IsEnabled)
Components\Pages\ConsoleLogs.razor.cs (1)
237if (!DashboardClient.IsEnabled)
Components\Pages\Resources.razor.cs (1)
207if (!DashboardClient.IsEnabled)
Components_Layout_DesktopNavMenu_razor.g.cs (1)
241if (DashboardClient.IsEnabled)
DashboardWebApplication.cs (1)
457if (!client.IsEnabled)
Mcp\AspireTelemetryMcpTools.cs (2)
65if (_dashboardClient.IsEnabled) 116if (_dashboardClient.IsEnabled)
Model\ConsoleLogsFetcher.cs (2)
16public bool IsEnabled => _dashboardClient.IsEnabled; 58if (!_dashboardClient.IsEnabled)
Model\ResourceOutgoingPeerResolver.cs (1)
29if (!resourceService.IsEnabled)
Model\TelemetryExportService.cs (1)
64if (_dashboardClient.IsEnabled && hasResourceDetailsSelected)
ServiceClient\DashboardClient.cs (1)
37/// will throw if <see cref="IDashboardClient.IsEnabled"/> is <see langword="false"/>. Callers should
ServiceClient\IDashboardClient.cs (1)
21/// Users of <see cref="IDashboardClient"/> client should check <see cref="IsEnabled"/> before calling