5 implementations of IsEnabled
Aspire.Dashboard (1)
ServiceClient\DashboardClient.cs (1)
227public bool IsEnabled => _state is not StateDisabled;
Aspire.Dashboard.Components.Tests (2)
Controls\ApplicationNameTests.cs (1)
76public bool IsEnabled => true;
Shared\TestDashboardClient.cs (1)
21public bool IsEnabled { get; }
Aspire.Dashboard.Tests (2)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
32public bool IsEnabled => true;
ResourceOutgoingPeerResolverTests.cs (1)
224public bool IsEnabled => true;
10 references to IsEnabled
Aspire.Dashboard (10)
Components\Controls\ApplicationName.razor.cs (1)
31if (DashboardClient.IsEnabled && !DashboardClient.WhenConnected.IsCompletedSuccessfully)
Components\Interactions\InteractionsProvider.cs (1)
56if (!DashboardClient.IsEnabled)
Components\Layout\MainLayout.razor.cs (1)
90if (!DashboardClient.IsEnabled)
Components\Layout\MobileNavMenu.razor.cs (1)
36if (DashboardClient.IsEnabled)
Components\Pages\ConsoleLogs.razor.cs (1)
185if (!DashboardClient.IsEnabled)
Components\Pages\Resources.razor.cs (1)
210if (DashboardClient.IsEnabled)
DashboardWebApplication.cs (1)
377if (!client.IsEnabled)
Model\ResourceOutgoingPeerResolver.cs (1)
23if (!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