7 references to ParseBool
Microsoft.AspNetCore.Hosting (7)
GenericHost\GenericWebHostService.cs (1)
108
serverAddressesFeature!.PreferHostingUrls = WebHostUtilities.
ParseBool
(preferHostingUrlsConfig);
Internal\WebHost.cs (1)
268
serverAddressesFeature!.PreferHostingUrls = WebHostUtilities.
ParseBool
(_config[WebHostDefaults.PreferHostingUrlsKey]);
Internal\WebHostOptions.cs (5)
22
DetailedErrors = WebHostUtilities.
ParseBool
(GetConfig(WebHostDefaults.DetailedErrorsKey));
23
CaptureStartupErrors = WebHostUtilities.
ParseBool
(GetConfig(WebHostDefaults.CaptureStartupErrorsKey));
27
PreventHostingStartup = WebHostUtilities.
ParseBool
(GetConfig(WebHostDefaults.PreventHostingStartupKey));
28
SuppressStatusMessages = WebHostUtilities.
ParseBool
(GetConfig(WebHostDefaults.SuppressStatusMessagesKey));
30
PreferHostingUrls = WebHostUtilities.
ParseBool
(GetConfig(WebHostDefaults.PreferHostingUrlsKey));