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; }
12 references to IsEnabled
Aspire.Dashboard (12)
Components\Controls\ApplicationName.razor.cs (1)
31if (DashboardClient.IsEnabled && !DashboardClient.WhenConnected.IsCompletedSuccessfully)
Components\Controls\PropertyValues\ResourceNameButtonValue.razor.cs (1)
40if (DashboardClient.IsEnabled)
Components\Interactions\InteractionsProvider.cs (1)
91if (!DashboardClient.IsEnabled)
Components\Layout\MainLayout.razor.cs (1)
100if (!DashboardClient.IsEnabled)
Components\Layout\MobileNavMenu.razor.cs (1)
39if (DashboardClient.IsEnabled)
Components\Pages\ConsoleLogs.razor.cs (1)
239if (!DashboardClient.IsEnabled)
Components\Pages\Resources.razor.cs (1)
236if (DashboardClient.IsEnabled)
Components_Layout_DesktopNavMenu_razor.g.cs (1)
211if (DashboardClient.IsEnabled)
DashboardWebApplication.cs (1)
410if (!client.IsEnabled)
Model\ResourceOutgoingPeerResolver.cs (1)
29if (!resourceService.IsEnabled)
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