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