8 references to ShutdownTimeoutKey
InMemory.FunctionalTests (1)
TestTransport\TestServer.cs (1)
81
.UseSetting(WebHostDefaults.
ShutdownTimeoutKey
, context.ShutdownTimeout.TotalSeconds.ToString(CultureInfo.InvariantCulture))
Microsoft.AspNetCore.Hosting (1)
Internal\WebHostOptions.cs (1)
36
var timeout = GetConfig(WebHostDefaults.
ShutdownTimeoutKey
);
Microsoft.AspNetCore.Hosting.Abstractions (1)
HostingAbstractionsWebHostBuilderExtensions.cs (1)
163
return hostBuilder.UseSetting(WebHostDefaults.
ShutdownTimeoutKey
, ((int)timeout.TotalSeconds).ToString(CultureInfo.InvariantCulture));
Microsoft.AspNetCore.Hosting.Tests (3)
WebHostTests.cs (3)
198
{ WebHostDefaults.
ShutdownTimeoutKey
, "1" }
237
{ WebHostDefaults.
ShutdownTimeoutKey
, "1" }
273
{ WebHostDefaults.
ShutdownTimeoutKey
, "10" }
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
107
.UseSetting(WebHostDefaults.
ShutdownTimeoutKey
, TestConstants.DefaultTimeout.TotalSeconds.ToString(CultureInfo.InvariantCulture))
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
107
.UseSetting(WebHostDefaults.
ShutdownTimeoutKey
, TestConstants.DefaultTimeout.TotalSeconds.ToString(CultureInfo.InvariantCulture))