7 implementations of IsEnabled
Aspire.Dashboard (2)
ServiceClient\DashboardClient.cs (1)
252public bool IsEnabled => _state is not StateDisabled;
ServiceClient\SelectedDashboardClient.cs (1)
12public bool IsEnabled => IsReadOnly || currentClient.IsEnabled;
Aspire.Dashboard.Components.Tests (1)
tests\Shared\TestDashboardClient.cs (1)
25public bool IsEnabled { get; }
Aspire.Dashboard.Tests (4)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
41public bool IsEnabled => true;
ResourceOutgoingPeerResolverTests.cs (1)
685public bool IsEnabled => true;
Terminal\DefaultTerminalConnectionResolverTests.cs (1)
142public bool IsEnabled => false;
tests\Shared\TestDashboardClient.cs (1)
25public bool IsEnabled { get; }
20 references to IsEnabled
Aspire.Dashboard (19)
Components\Controls\ApplicationName.razor.cs (1)
34if (DashboardClient.IsEnabled && !DashboardClient.WhenConnected.IsCompletedSuccessfully)
Components\Controls\PropertyValues\ResourceNameButtonValue.razor.cs (1)
43if (DashboardClient.IsEnabled)
Components\Dialogs\AIAgentsDialog.razor.cs (1)
36private string Description => DashboardClient.IsEnabled
Components\Dialogs\ManageDataDialog.razor.cs (2)
82if (DashboardClient.IsEnabled) 564if (DashboardClient.IsEnabled)
Components\Interactions\InteractionsProvider.cs (1)
95if (!DashboardClient.IsEnabled)
Components\Layout\MainLayout.razor.cs (1)
136if (!DashboardClient.IsEnabled)
Components\Layout\MobileNavMenu.razor.cs (1)
120if (DashboardClient.IsEnabled)
Components\Layout\ResourceServiceConnectionProvider.cs (2)
24if (!DashboardClient.IsEnabled) 34if (firstRender && DashboardClient.IsEnabled)
Components\Pages\ConsoleLogs.razor.cs (1)
266if (!DashboardClient.IsEnabled)
Components\Pages\Resources.razor.cs (1)
184if (!DashboardClient.IsEnabled)
Model\ConsoleLogsFetcher.cs (2)
17public bool IsEnabled => _dashboardClient.IsEnabled; 64if (!_dashboardClient.IsEnabled)
Model\ResourceOutgoingPeerResolver.cs (1)
45if (resourceRepository is IDashboardClient { IsEnabled: false })
Model\TelemetryExportService.cs (1)
61if (_dashboardClient.IsEnabled && hasResourceDetailsSelected)
ServiceClient\DashboardClient.cs (1)
40/// will throw if <see cref="IDashboardClient.IsEnabled"/> is <see langword="false"/>. Callers should
ServiceClient\IDashboardClient.cs (1)
22/// Users of <see cref="IDashboardClient"/> client should check <see cref="IsEnabled"/> before calling
Terminal\DefaultTerminalConnectionResolver.cs (1)
43if (!_client.IsEnabled)
Aspire.Dashboard.Tests (1)
Model\DashboardDataSourceTests.cs (1)
1141Assert.True(selectedClient.IsEnabled);