6 instantiations of KestrelServerImpl
InMemory.FunctionalTests (1)
TestTransport\TestServer.cs (1)
98return new KestrelServerImpl(
Microsoft.AspNetCore.Server.Kestrel.Core (1)
KestrelServer.cs (1)
33_innerKestrelServer = new KestrelServerImpl(
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
KestrelServerTests.cs (2)
306return new KestrelServerImpl( 739using (var server = new KestrelServerImpl(new[] { new MockTransportFactory() }, Array.Empty<IMultiplexedConnectionListenerFactory>(), new HttpsConfigurationService(), testContext))
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
99return new KestrelServerImpl(sp.GetServices<IConnectionListenerFactory>(), Array.Empty<IMultiplexedConnectionListenerFactory>(), sp.GetRequiredService<IHttpsConfigurationService>(), context);
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
99return new KestrelServerImpl(sp.GetServices<IConnectionListenerFactory>(), Array.Empty<IMultiplexedConnectionListenerFactory>(), sp.GetRequiredService<IHttpsConfigurationService>(), context);
16 references to KestrelServerImpl
Microsoft.AspNetCore.Server.Kestrel (1)
WebHostBuilderKestrelExtensions.cs (1)
86services.AddSingleton<IServer, KestrelServerImpl>();
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\KestrelServerImpl.cs (1)
324if (state is KestrelServerImpl server)
KestrelServer.cs (1)
23private readonly KestrelServerImpl _innerKestrelServer;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (11)
KestrelServerTests.cs (11)
290private static KestrelServerImpl CreateKestrelServer( 332using var server = CreateKestrelServer( 346using var server = CreateKestrelServer( 366using var server = CreateKestrelServer( 387using var server = CreateKestrelServer( 411using var server = CreateKestrelServer( 437using var server = CreateKestrelServer( 464using var server = CreateKestrelServer( 495using var server = CreateKestrelServer( 523using var server = CreateKestrelServer( 739using (var server = new KestrelServerImpl(new[] { new MockTransportFactory() }, Array.Empty<IMultiplexedConnectionListenerFactory>(), new HttpsConfigurationService(), testContext))
Microsoft.AspNetCore.Server.Kestrel.Tests (2)
WebHostBuilderKestrelExtensionsTests.cs (2)
117var server = Assert.IsType<KestrelServerImpl>(hostBuilder.Build().Services.GetService<IServer>());