10 references to OnConnectionUpAsync
Microsoft.AspNetCore.Components.Server (2)
Circuits\CircuitHandler.cs (1)
14/// <see cref="OnConnectionUpAsync(Circuit, CancellationToken)"/> is invoked immediately after the completion of
Circuits\CircuitHost.cs (1)
272await circuitHandler.OnConnectionUpAsync(Circuit, cancellationToken);
Microsoft.AspNetCore.Components.Server.Tests (8)
Circuits\CircuitHostTest.cs (2)
183.Setup(h => h.OnConnectionUpAsync(It.IsAny<Circuit>(), cancellationToken)) 189.Setup(h => h.OnConnectionUpAsync(It.IsAny<Circuit>(), cancellationToken))
Circuits\CircuitRegistryTest.cs (6)
100handler.Verify(v => v.OnConnectionUpAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Once()); 124handler.Verify(v => v.OnConnectionUpAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Once()); 136handler.Setup(h => h.OnConnectionUpAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>())).Throws(new InvalidTimeZoneException()); 183handler.Verify(v => v.OnConnectionUpAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never()); 202handler.Verify(v => v.OnConnectionUpAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never()); 220handler.Verify(v => v.OnConnectionUpAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never());