44 references to GetValue
blazor-devserver (2)
Server\Startup.cs (2)
32bool applyCopHeaders = configuration.GetValue<bool>("ApplyCopHeaders"); 80var pathBase = configuration.GetValue<string>("pathbase");
Http2SampleApp (1)
Program.cs (1)
28var basePort = context.Configuration.GetValue<int?>("BASE_PORT") ?? 5000;
InProcessWebSite (2)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Startup.cs (2)
1132var httpsPort = context.RequestServices.GetService<IConfiguration>().GetValue<int?>("ANCM_HTTPS_PORT"); 1139var httpsPort = context.RequestServices.GetService<IConfiguration>().GetValue<int?>("HTTPS_PORT");
Kestrel.SampleApp (1)
Startup.cs (1)
85var basePort = context.Configuration.GetValue<int?>("BASE_PORT") ?? 5000;
Microsoft.AspNetCore.BrowserTesting (34)
BrowserManagerConfiguration.cs (34)
100var isEnabled = browser.GetValue<bool>("IsEnabled"); 101var browserKind = browser.GetValue<BrowserKind>("BrowserKind"); 128RecordVideoDir = configuration.GetValue<string>(nameof(BrowserNewContextOptions.RecordVideoDir)), 130RecordHarPath = configuration.GetValue<string>(nameof(BrowserNewContextOptions.RecordHarPath)), 131RecordHarOmitContent = configuration.GetValue<bool?>(nameof(BrowserNewContextOptions.RecordHarOmitContent)), 135Locale = configuration.GetValue<string>(nameof(BrowserNewContextOptions.Locale)), 136ColorScheme = configuration.GetValue<ColorScheme?>(nameof(BrowserNewContextOptions.ColorScheme)), 137AcceptDownloads = configuration.GetValue<bool?>(nameof(BrowserNewContextOptions.AcceptDownloads)), 138HasTouch = configuration.GetValue<bool?>(nameof(BrowserNewContextOptions.HasTouch)), 139HttpCredentials = configuration.GetValue<HttpCredentials>(nameof(BrowserNewContextOptions.HttpCredentials)), 140DeviceScaleFactor = configuration.GetValue<float?>(nameof(BrowserNewContextOptions.DeviceScaleFactor)), 141Offline = configuration.GetValue<bool?>(nameof(BrowserNewContextOptions.Offline)), 142IsMobile = configuration.GetValue<bool?>(nameof(BrowserNewContextOptions.IsMobile)), 145Permissions = configuration.GetValue<IEnumerable<string>>(nameof(BrowserNewContextOptions.Permissions)), 148TimezoneId = configuration.GetValue<string>(nameof(BrowserNewContextOptions.TimezoneId)), 149IgnoreHTTPSErrors = configuration.GetValue<bool?>(nameof(BrowserNewContextOptions.IgnoreHTTPSErrors)), 150JavaScriptEnabled = configuration.GetValue<bool?>(nameof(BrowserNewContextOptions.JavaScriptEnabled)), 151BypassCSP = configuration.GetValue<bool?>(nameof(BrowserNewContextOptions.BypassCSP)), 152UserAgent = configuration.GetValue<string>(nameof(BrowserNewContextOptions.UserAgent)), 154StorageStatePath = configuration.GetValue<string>(nameof(BrowserNewContextOptions.StorageStatePath)), 155StorageState = configuration.GetValue<string>(nameof(BrowserNewContextOptions.StorageState)) 199ChromiumSandbox = configuration.GetValue<bool?>(nameof(BrowserTypeLaunchOptions.ChromiumSandbox)), 200HandleSIGHUP = configuration.GetValue<bool?>(nameof(BrowserTypeLaunchOptions.HandleSIGHUP)), 201HandleSIGTERM = configuration.GetValue<bool?>(nameof(BrowserTypeLaunchOptions.HandleSIGTERM)), 202HandleSIGINT = configuration.GetValue<bool?>(nameof(BrowserTypeLaunchOptions.HandleSIGINT)), 203IgnoreAllDefaultArgs = configuration.GetValue<bool?>(nameof(BrowserTypeLaunchOptions.IgnoreAllDefaultArgs)), 204SlowMo = configuration.GetValue<int?>(nameof(BrowserTypeLaunchOptions.SlowMo)), 205Env = configuration.GetValue<Dictionary<string, string>>(nameof(BrowserTypeLaunchOptions.Env)), 206DownloadsPath = configuration.GetValue<string>(nameof(BrowserTypeLaunchOptions.DownloadsPath)), 207ExecutablePath = configuration.GetValue<string>(nameof(BrowserTypeLaunchOptions.ExecutablePath)), 208Devtools = configuration.GetValue<bool?>(nameof(BrowserTypeLaunchOptions.Devtools)), 212Headless = configuration.GetValue<bool?>(nameof(BrowserTypeLaunchOptions.Headless)), 213Timeout = configuration.GetValue<int?>(nameof(BrowserTypeLaunchOptions.Timeout)), 214Proxy = configuration.GetValue<Proxy>(nameof(BrowserTypeLaunchOptions.Proxy))
Mvc.RoutingWebSite (1)
StartupForDynamicOrder.cs (1)
44var scenario = Configuration.GetValue<string>("Scenario");
SystemdTestApp (1)
Startup.cs (1)
52var basePort = context.Configuration.GetValue<int?>("BASE_PORT") ?? 5000;
Wasm.Performance.Driver (2)
src\Components\WebAssembly\DevServer\src\Server\Startup.cs (2)
32bool applyCopHeaders = configuration.GetValue<bool>("ApplyCopHeaders"); 80var pathBase = configuration.GetValue<string>("pathbase");