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