6 references to GetBool
Aspire.Dashboard (6)
DashboardWebApplication.cs (3)
236
if (builder.Configuration.
GetBool
(DashboardConfigNames.ForwardedHeaders.ConfigKey) ?? false)
365
var isContainer = _app.Configuration.
GetBool
("DOTNET_RUNNING_IN_CONTAINER") ?? false;
447
if (builder.Configuration.
GetBool
(DashboardConfigNames.ForwardedHeaders.ConfigKey) ?? false)
src\Shared\IConfigurationExtensions.cs (3)
30
var value = configuration.
GetBool
(primaryKey) ?? configuration.
GetBool
(secondaryKey);
92
return configuration.
GetBool
(key) ?? defaultValue;