5 implementations of IsEnabled
Aspire.Dashboard (1)
ResourceService\DashboardClient.cs (1)
215
public bool
IsEnabled
=> _state is not StateDisabled;
Aspire.Dashboard.Components.Tests (2)
Controls\ApplicationNameTests.cs (1)
75
public bool
IsEnabled
=> true;
Shared\TestDashboardClient.cs (1)
18
public bool
IsEnabled
{ get; }
Aspire.Dashboard.Tests (2)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
31
public bool
IsEnabled
=> true;
ResourceOutgoingPeerResolverTests.cs (1)
223
public bool
IsEnabled
=> true;
9 references to IsEnabled
Aspire.Dashboard (9)
Components\Controls\ApplicationName.razor.cs (1)
32
if (DashboardClient.
IsEnabled
&& !DashboardClient.WhenConnected.IsCompletedSuccessfully)
Components\Layout\MainLayout.razor.cs (1)
91
if (!DashboardClient.
IsEnabled
)
Components\Layout\MobileNavMenu.razor.cs (1)
37
if (DashboardClient.
IsEnabled
)
Components\Pages\ConsoleLogs.razor.cs (1)
179
if (!DashboardClient.
IsEnabled
)
Components\Pages\Resources.razor.cs (1)
191
if (DashboardClient.
IsEnabled
)
DashboardWebApplication.cs (1)
377
if (!client.
IsEnabled
)
Model\ResourceOutgoingPeerResolver.cs (1)
23
if (!resourceService.
IsEnabled
)
ResourceService\DashboardClient.cs (1)
34
/// will throw if <see cref="IDashboardClient.
IsEnabled
"/> is <see langword="false"/>. Callers should
ResourceService\IDashboardClient.cs (1)
19
/// Users of <see cref="IDashboardClient"/> client should check <see cref="
IsEnabled
"/> before calling