12 references to OnCircuitOpenedAsync
Microsoft.AspNetCore.Components.Server (4)
Circuits\CircuitHandler.cs (3)
10/// <see cref="OnCircuitOpenedAsync(Circuit, CancellationToken)"/> is invoked after an initial circuit to the client 15/// <see cref="OnCircuitOpenedAsync(Circuit, CancellationToken)"/>. In addition, the method is invoked each time a connection is re-established 51/// This method is executed once initially after <see cref="OnCircuitOpenedAsync(Circuit, CancellationToken)"/>
Circuits\CircuitHost.cs (1)
243await circuitHandler.OnCircuitOpenedAsync(Circuit, cancellationToken);
Microsoft.AspNetCore.Components.Server.Tests (8)
Circuits\CircuitHostTest.cs (3)
171.Setup(h => h.OnCircuitOpenedAsync(It.IsAny<Circuit>(), cancellationToken)) 177.Setup(h => h.OnCircuitOpenedAsync(It.IsAny<Circuit>(), cancellationToken)) 257.Setup(h => h.OnCircuitOpenedAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()))
Circuits\CircuitRegistryTest.cs (5)
99handler.Verify(v => v.OnCircuitOpenedAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never()); 123handler.Verify(v => v.OnCircuitOpenedAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never()); 182handler.Verify(v => v.OnCircuitOpenedAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never()); 201handler.Verify(v => v.OnCircuitOpenedAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never()); 219handler.Verify(v => v.OnCircuitOpenedAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>()), Times.Never());