7 implementations of IsEnabled
Aspire.Dashboard (2)
ServiceClient\DashboardClient.cs (1)
252
public bool
IsEnabled
=> _state is not StateDisabled;
ServiceClient\SelectedDashboardClient.cs (1)
12
public bool
IsEnabled
=> IsReadOnly || currentClient.IsEnabled;
Aspire.Dashboard.Components.Tests (1)
tests\Shared\TestDashboardClient.cs (1)
25
public bool
IsEnabled
{ get; }
Aspire.Dashboard.Tests (4)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
41
public bool
IsEnabled
=> true;
ResourceOutgoingPeerResolverTests.cs (1)
685
public bool
IsEnabled
=> true;
Terminal\DefaultTerminalConnectionResolverTests.cs (1)
142
public bool
IsEnabled
=> false;
tests\Shared\TestDashboardClient.cs (1)
25
public bool
IsEnabled
{ get; }
20 references to IsEnabled
Aspire.Dashboard (19)
Components\Controls\ApplicationName.razor.cs (1)
34
if (DashboardClient.
IsEnabled
&& !DashboardClient.WhenConnected.IsCompletedSuccessfully)
Components\Controls\PropertyValues\ResourceNameButtonValue.razor.cs (1)
43
if (DashboardClient.
IsEnabled
)
Components\Dialogs\AIAgentsDialog.razor.cs (1)
36
private string Description => DashboardClient.
IsEnabled
Components\Dialogs\ManageDataDialog.razor.cs (2)
82
if (DashboardClient.
IsEnabled
)
564
if (DashboardClient.
IsEnabled
)
Components\Interactions\InteractionsProvider.cs (1)
95
if (!DashboardClient.
IsEnabled
)
Components\Layout\MainLayout.razor.cs (1)
136
if (!DashboardClient.
IsEnabled
)
Components\Layout\MobileNavMenu.razor.cs (1)
120
if (DashboardClient.
IsEnabled
)
Components\Layout\ResourceServiceConnectionProvider.cs (2)
24
if (!DashboardClient.
IsEnabled
)
34
if (firstRender && DashboardClient.
IsEnabled
)
Components\Pages\ConsoleLogs.razor.cs (1)
266
if (!DashboardClient.
IsEnabled
)
Components\Pages\Resources.razor.cs (1)
184
if (!DashboardClient.
IsEnabled
)
Model\ConsoleLogsFetcher.cs (2)
17
public bool IsEnabled => _dashboardClient.
IsEnabled
;
64
if (!_dashboardClient.
IsEnabled
)
Model\ResourceOutgoingPeerResolver.cs (1)
45
if (resourceRepository is IDashboardClient {
IsEnabled
: false })
Model\TelemetryExportService.cs (1)
61
if (_dashboardClient.
IsEnabled
&& hasResourceDetailsSelected)
ServiceClient\DashboardClient.cs (1)
40
/// will throw if <see cref="IDashboardClient.
IsEnabled
"/> is <see langword="false"/>. Callers should
ServiceClient\IDashboardClient.cs (1)
22
/// Users of <see cref="IDashboardClient"/> client should check <see cref="
IsEnabled
"/> before calling
Terminal\DefaultTerminalConnectionResolver.cs (1)
43
if (!_client.
IsEnabled
)
Aspire.Dashboard.Tests (1)
Model\DashboardDataSourceTests.cs (1)
1141
Assert.True(selectedClient.
IsEnabled
);