13 references to Create
Microsoft.AspNetCore.Components.Server.Tests (13)
Circuits\CircuitHostTest.cs (5)
193var circuitHost = TestCircuitHost.Create(handlers: new[] { handler1.Object, handler2.Object }); 232var circuitHost = TestCircuitHost.Create( 324var circuitHost = TestCircuitHost.Create(handlers: new[] { handler1.Object, handler2.Object }); 372var circuitHost = TestCircuitHost.Create(handlers: new[] { handler1.Object, handler2.Object, handler3.Object }); 400var circuitHost = TestCircuitHost.Create();
Circuits\CircuitRegistryTest.cs (6)
20var circuitHost = TestCircuitHost.Create(); 158var circuitHost = TestCircuitHost.Create(); 175var circuitHost = TestCircuitHost.Create(handlers: new[] { handler.Object }); 194var circuitHost = TestCircuitHost.Create(handlers: new[] { handler.Object }); 213var circuitHost = TestCircuitHost.Create(handlers: new[] { handler.Object }); 312var circuitHost = TestCircuitHost.Create();
Circuits\ComponentHubTest.cs (2)
159var circuitHost = TestCircuitHost.Create( 209var circuitHost = TestCircuitHost.Create(serviceScope: new AsyncServiceScope(serviceScope.Object));