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)
301await 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)
101handler.Verify(v => v.OnConnectionDownAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never()); 125handler.Verify(v => v.OnConnectionDownAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Once()); 184handler.Verify(v => v.OnConnectionDownAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Once()); 203handler.Verify(v => v.OnConnectionDownAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never()); 221handler.Verify(v => v.OnConnectionDownAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never());