14 references to GetConfig
Microsoft.AspNetCore.Hosting (14)
Internal\WebHostOptions.cs (14)
20
ApplicationName = environment?.ApplicationName ??
GetConfig
(WebHostDefaults.ApplicationKey) ?? Assembly.GetEntryAssembly()?.GetName().Name ?? string.Empty;
21
StartupAssembly =
GetConfig
(WebHostDefaults.StartupAssemblyKey);
22
DetailedErrors = WebHostUtilities.ParseBool(
GetConfig
(WebHostDefaults.DetailedErrorsKey));
23
CaptureStartupErrors = WebHostUtilities.ParseBool(
GetConfig
(WebHostDefaults.CaptureStartupErrorsKey));
24
Environment = environment?.EnvironmentName ??
GetConfig
(WebHostDefaults.EnvironmentKey);
25
WebRoot =
GetConfig
(WebHostDefaults.WebRootKey);
26
ContentRootPath = environment?.ContentRootPath ??
GetConfig
(WebHostDefaults.ContentRootKey);
27
PreventHostingStartup = WebHostUtilities.ParseBool(
GetConfig
(WebHostDefaults.PreventHostingStartupKey));
28
SuppressStatusMessages = WebHostUtilities.ParseBool(
GetConfig
(WebHostDefaults.SuppressStatusMessagesKey));
29
ServerUrls =
GetConfig
(WebHostDefaults.ServerUrlsKey);
30
PreferHostingUrls = WebHostUtilities.ParseBool(
GetConfig
(WebHostDefaults.PreferHostingUrlsKey));
33
HostingStartupAssemblies = Split(ApplicationName,
GetConfig
(WebHostDefaults.HostingStartupAssembliesKey));
34
HostingStartupExcludeAssemblies = Split(
GetConfig
(WebHostDefaults.HostingStartupExcludeAssembliesKey));
36
var timeout =
GetConfig
(WebHostDefaults.ShutdownTimeoutKey);