1 write to _serviceName
Microsoft.Extensions.ServiceDiscovery (1)
Configuration\ConfigurationServiceEndpointProvider.cs (1)
39
_serviceName
= query.ServiceName;
12 references to _serviceName
Microsoft.Extensions.ServiceDiscovery (12)
Configuration\ConfigurationServiceEndpointProvider.cs (12)
58
Log.SkippedResolution(_logger,
_serviceName
, "Collection has existing endpoints");
63
var section = _configuration.GetSection(_options.Value.SectionName).GetSection(
_serviceName
);
67
Log.ServiceConfigurationNotFound(_logger,
_serviceName
, $"{_options.Value.SectionName}:{
_serviceName
}");
99
var configPath = $"{_options.Value.SectionName}:{
_serviceName
}:{endpointName}";
102
Log.EndpointConfigurationNotFound(_logger, endpointName,
_serviceName
, configPath);
107
Log.UsingConfigurationPath(_logger, configPath, endpointName,
_serviceName
);
122
throw new KeyNotFoundException($"The endpoint configuration section for service '{
_serviceName
}' endpoint '{endpointName}' has non-numeric keys.");
178
Log.ServiceConfigurationNotFound(_logger,
_serviceName
, configPath);
182
Log.ConfiguredEndpoints(_logger,
_serviceName
, configPath, endpoints.Endpoints, resolvedEndpointCount);
188
string IHostNameFeature.HostName =>
_serviceName
;
194
throw new KeyNotFoundException($"The endpoint configuration section for service '{
_serviceName
}' endpoint '{endpointName}' has an invalid value with key '{section.Key}'.");