4 implementations of IsEnabled
Aspire.Dashboard (1)
ServiceClient\DashboardClient.cs (1)
227public bool IsEnabled => _state is not StateDisabled;
Aspire.Dashboard.Components.Tests (1)
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)
409public bool IsEnabled => true;
11 references to IsEnabled
Aspire.Dashboard (11)
Components\Controls\ApplicationName.razor.cs (1)
31if (DashboardClient.IsEnabled && !DashboardClient.WhenConnected.IsCompletedSuccessfully)
Components\Controls\PropertyValues\ResourceNameButtonValue.razor.cs (1)
37if (DashboardClient.IsEnabled)
Components\Interactions\InteractionsProvider.cs (1)
87if (!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)
187if (!DashboardClient.IsEnabled)
Components\Pages\Resources.razor.cs (1)
212if (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