7 implementations of ConnectionStateChanged
Aspire.Dashboard (2)
ServiceClient\DashboardClient.cs (1)
256
public event Action<DashboardConnectionState>?
ConnectionStateChanged
;
ServiceClient\SelectedDashboardClient.cs (1)
18
public event Action<DashboardConnectionState>?
ConnectionStateChanged
Aspire.Dashboard.Components.Tests (1)
tests\Shared\TestDashboardClient.cs (1)
33
public event Action<DashboardConnectionState>?
ConnectionStateChanged
;
Aspire.Dashboard.Tests (4)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
47
public event Action<DashboardConnectionState>?
ConnectionStateChanged
;
ResourceOutgoingPeerResolverTests.cs (1)
691
public event Action<DashboardConnectionState>?
ConnectionStateChanged
;
Terminal\DefaultTerminalConnectionResolverTests.cs (1)
148
public event Action<DashboardConnectionState>?
ConnectionStateChanged
;
tests\Shared\TestDashboardClient.cs (1)
33
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;
95
DashboardClient.
ConnectionStateChanged
-= OnConnectionStateChanged;
Aspire.Dashboard.Tests (11)
Model\DashboardClientTests.cs (8)
345
client.
ConnectionStateChanged
+= stateChanges.Add;
361
client.
ConnectionStateChanged
+= stateChanges.Add;
376
client.
ConnectionStateChanged
+= stateChanges.Add;
406
client.
ConnectionStateChanged
+= _ => Interlocked.Increment(ref eventCount);
428
client.
ConnectionStateChanged
+= state =>
461
client.
ConnectionStateChanged
+= state =>
488
client.
ConnectionStateChanged
+= state =>
540
client.
ConnectionStateChanged
+= state =>
Model\DashboardDataSourceTests.cs (3)
1137
selectedClient.
ConnectionStateChanged
+= _ => connectionStateChangedCount++;
1156
selectedClient.
ConnectionStateChanged
+= handler;
1158
selectedClient.
ConnectionStateChanged
-= handler;