5 references to SectionName
Microsoft.Extensions.ServiceDiscovery (5)
Configuration\ConfigurationServiceEndpointProvider.cs (3)
64
var section = _configuration.GetSection(_options.Value.
SectionName
).GetSection(_serviceName);
68
Log.ServiceConfigurationNotFound(_logger, _serviceName, $"{_options.Value.
SectionName
}:{_serviceName}");
100
var configPath = $"{_options.Value.
SectionName
}:{_serviceName}:{endpointName}";
Configuration\ConfigurationServiceEndpointProviderOptionsValidator.cs (2)
12
if (string.IsNullOrWhiteSpace(options.
SectionName
))
14
return ValidateOptionsResult.Fail($"{nameof(options.
SectionName
)} must not be null or empty.");