Implemented interface member:
property
IsReadOnly
Aspire.Dashboard.ServiceClient.IDashboardClient.IsReadOnly
13 references to IsReadOnly
Aspire.Dashboard (13)
ServiceClient\SelectedDashboardClient.cs (13)
12
public Task WhenConnected =>
IsReadOnly
? Task.CompletedTask : currentClient.WhenConnected;
13
public Task WhenResourcesReady =>
IsReadOnly
? Task.CompletedTask : currentClient.WhenResourcesReady;
14
public bool IsEnabled =>
IsReadOnly
|| currentClient.IsEnabled;
16
public DashboardConnectionState ConnectionState =>
IsReadOnly
? DashboardConnectionState.Connected : currentClient.ConnectionState;
18
public string ApplicationName =>
IsReadOnly
21
public string? MinRequiredVersion =>
IsReadOnly
? null : currentClient.MinRequiredVersion;
27
if (!
IsReadOnly
)
38
public Task ReconnectAsync() =>
IsReadOnly
? Task.CompletedTask : currentClient.ReconnectAsync();
43
IsReadOnly
47
IsReadOnly
58
IsReadOnly
? EmptyInteractionsAsync() : currentClient.SubscribeInteractionsAsync(cancellationToken);
85
IsReadOnly
? EmptyTerminalsAsync() : currentClient.SubscribeTerminalsAsync(cancellationToken);
101
if (
IsReadOnly
)