2 writes to ShouldApplyHostNameMetadata
Microsoft.Extensions.ServiceDiscovery.Tests (2)
ConfigurationServiceEndpointResolverTests.cs (2)
149
o.
ShouldApplyHostNameMetadata
= _ => true;
289
.AddConfigurationServiceEndpointProvider(options => options.
ShouldApplyHostNameMetadata
= _ => true)
3 references to ShouldApplyHostNameMetadata
Microsoft.Extensions.ServiceDiscovery (3)
Configuration\ConfigurationServiceEndpointProvider.cs (1)
233
if (_options.Value.
ShouldApplyHostNameMetadata
(serviceEndpoint))
Configuration\ConfigurationServiceEndpointProviderOptionsValidator.cs (2)
17
if (options.
ShouldApplyHostNameMetadata
is null)
19
return ValidateOptionsResult.Fail($"{nameof(options.
ShouldApplyHostNameMetadata
)} must not be null.");