9 references to OnConnectionDownAsync
Microsoft.AspNetCore.Components.Server (2)
Circuits\CircuitHandler.cs (1)
16
/// with a client after it's been dropped. <see cref="
OnConnectionDownAsync
(Circuit, CancellationToken)"/> is invoked each time a connection
Circuits\CircuitHost.cs (1)
301
await circuitHandler.
OnConnectionDownAsync
(Circuit, cancellationToken);
Microsoft.AspNetCore.Components.Server.Tests (7)
Circuits\CircuitHostTest.cs (2)
302
.Setup(h => h.
OnConnectionDownAsync
(It.IsAny<Circuit>(), cancellationToken))
308
.Setup(h => h.
OnConnectionDownAsync
(It.IsAny<Circuit>(), cancellationToken))
Circuits\CircuitRegistryTest.cs (5)
101
handler.Verify(v => v.
OnConnectionDownAsync
(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never());
125
handler.Verify(v => v.
OnConnectionDownAsync
(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Once());
184
handler.Verify(v => v.
OnConnectionDownAsync
(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Once());
203
handler.Verify(v => v.
OnConnectionDownAsync
(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never());
221
handler.Verify(v => v.
OnConnectionDownAsync
(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never());