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