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)
272
await 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)
100
handler.Verify(v => v.
OnConnectionUpAsync
(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Once());
124
handler.Verify(v => v.
OnConnectionUpAsync
(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Once());
136
handler.Setup(h => h.
OnConnectionUpAsync
(It.IsAny<Circuit>(), It.IsAny<CancellationToken>())).Throws(new InvalidTimeZoneException());
183
handler.Verify(v => v.
OnConnectionUpAsync
(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never());
202
handler.Verify(v => v.
OnConnectionUpAsync
(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never());
220
handler.Verify(v => v.
OnConnectionUpAsync
(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never());