7 implementations of ConnectionStateChanged
Aspire.Dashboard (2)
ServiceClient\DashboardClient.cs (1)
290
public event Action<DashboardConnectionState>?
ConnectionStateChanged
;
ServiceClient\SelectedDashboardClient.cs (1)
23
public event Action<DashboardConnectionState>?
ConnectionStateChanged
Aspire.Dashboard.Components.Tests (1)
tests\Shared\TestDashboardClient.cs (1)
53
public event Action<DashboardConnectionState>?
ConnectionStateChanged
;
Aspire.Dashboard.Tests (4)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
50
public event Action<DashboardConnectionState>?
ConnectionStateChanged
;
ResourceOutgoingPeerResolverTests.cs (1)
692
public event Action<DashboardConnectionState>?
ConnectionStateChanged
;
Terminal\DefaultTerminalConnectionResolverTests.cs (1)
192
public event Action<DashboardConnectionState>?
ConnectionStateChanged
;
tests\Shared\TestDashboardClient.cs (1)
53
public event Action<DashboardConnectionState>?
ConnectionStateChanged
;
15 references to ConnectionStateChanged
Aspire.Dashboard (4)
Components\Controls\ApplicationName.razor.cs (2)
30
DashboardClient.
ConnectionStateChanged
+= OnConnectionStateChanged;
97
DashboardClient.
ConnectionStateChanged
-= OnConnectionStateChanged;
Components\Layout\ResourceServiceConnectionProvider.cs (2)
29
DashboardClient.
ConnectionStateChanged
+= OnConnectionStateChanged;
99
DashboardClient.
ConnectionStateChanged
-= OnConnectionStateChanged;
Aspire.Dashboard.Tests (11)
Model\DashboardClientTests.cs (8)
846
client.
ConnectionStateChanged
+= stateChanges.Add;
862
client.
ConnectionStateChanged
+= stateChanges.Add;
877
client.
ConnectionStateChanged
+= stateChanges.Add;
907
client.
ConnectionStateChanged
+= _ => Interlocked.Increment(ref eventCount);
929
client.
ConnectionStateChanged
+= state =>
963
client.
ConnectionStateChanged
+= state =>
990
client.
ConnectionStateChanged
+= state =>
1042
client.
ConnectionStateChanged
+= state =>
Model\DashboardDataSourceTests.cs (3)
1483
selectedClient.
ConnectionStateChanged
+= _ => connectionStateChangedCount++;
1503
selectedClient.
ConnectionStateChanged
+= handler;
1505
selectedClient.
ConnectionStateChanged
-= handler;