1 implementation of Value
Microsoft.Extensions.Configuration (1)
ConfigurationSection.cs (1)
51public string? Value
25 references to Value
dotnet-user-jwts (3)
_generated\0\BindingExtensions.g.cs (3)
78if (!string.IsNullOrEmpty(section.Value) && !section.GetChildren().Any()) 139value = key != null ? configuration[key] : configuration is IConfigurationSection sec ? sec.Value : null; 168if ((configuration as IConfigurationSection)?.Value is not null)
Microsoft.AspNetCore.Authentication.JwtBearer (2)
JwtBearerConfigureOptions.cs (2)
45var issuers = configSection.GetSection(nameof(TokenValidationParameters.ValidIssuers)).GetChildren().Select(iss => iss.Value).ToList(); 48var audiences = configSection.GetSection(nameof(TokenValidationParameters.ValidAudiences)).GetChildren().Select(aud => aud.Value).ToList();
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectConfigureOptions.cs (1)
112var elementsFromConfig = listConfigSection.GetChildren().Select(element => element.Value).OfType<string>();
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\ConfigSectionClone.cs (1)
15Value = configSection.Value;
Internal\ConfigurationReader.cs (1)
196stringProtocols[i] = childrenSections[i].Value!;
Microsoft.Extensions.Configuration (1)
ConfigurationSectionDebugView.cs (1)
26public string? Value => _section.Value;
Microsoft.Extensions.Configuration.Abstractions (3)
ConfigurationExtensions.cs (3)
65yield return new KeyValuePair<string, string?>(section.Path.Substring(prefixLength), section.Value); 75/// Determines whether the section has a <see cref="IConfigurationSection.Value"/> or has children. 85return section.Value != null || section.GetChildren().Any();
Microsoft.Extensions.Configuration.Binder (2)
ConfigurationBinder.cs (2)
210string? value = section.Value; 356configValue = section?.Value;
Microsoft.Extensions.Diagnostics (1)
Metrics\Configuration\MetricsConfigureOptions.cs (1)
80else if (bool.TryParse(meterSection.Value, out var meterEnabled))
Microsoft.Extensions.Logging.AzureAppServices (3)
BatchLoggerConfigureOptions.cs (1)
22options.IsEnabled = TextToBoolean(_configuration.GetSection(_isEnabledKey)?.Value);
BlobLoggerConfigureOptions.cs (1)
27options.ContainerUrl = _configuration.GetSection("APPSETTING_DIAGNOSTICS_AZUREBLOBCONTAINERSASURL")?.Value;
ConfigurationBasedLevelSwitcher.cs (1)
30return TextToLogLevel(_configuration.GetSection(_levelKey)?.Value);
Microsoft.Extensions.Logging.Configuration (1)
_generated\0\BindingExtensions.g.cs (1)
68value = key != null ? configuration[key] : configuration is IConfigurationSection sec ? sec.Value : null;
Microsoft.Extensions.Logging.Console (1)
_generated\0\BindingExtensions.g.cs (1)
520value = key != null ? configuration[key] : configuration is IConfigurationSection sec ? sec.Value : null;
Microsoft.Extensions.Logging.EventLog (1)
_generated\0\BindingExtensions.g.cs (1)
114value = key != null ? configuration[key] : configuration is IConfigurationSection sec ? sec.Value : null;
Microsoft.Extensions.ObjectPool.DependencyInjection (2)
ObjectPoolServiceCollectionExtensions.cs (2)
85if (!int.TryParse(child.Value, NumberStyles.Integer, CultureInfo.InvariantCulture, out var capacity)) 87Throw.ArgumentException(nameof(section), $"Can't parse '{child.Key}' value '{child.Value}' to integer.");
Microsoft.Extensions.ServiceDiscovery (2)
Configuration\ConfigurationServiceEndpointProvider.cs (2)
110if (!string.IsNullOrWhiteSpace(namedSection.Value)) 192if (!ServiceEndpoint.TryParse(section.Value, out var serviceEndpoint))