Partilhar via


ConfigurationServiceEndpointProviderOptions.ShouldApplyHostNameMetadata Property

Definition

Gets or sets a delegate used to determine whether to apply host name metadata to each resolved endpoint. Defaults to a delegate which returns false.

public Func<Microsoft.Extensions.ServiceDiscovery.ServiceEndpoint,bool> ShouldApplyHostNameMetadata { get; set; }
member this.ShouldApplyHostNameMetadata : Func<Microsoft.Extensions.ServiceDiscovery.ServiceEndpoint, bool> with get, set
Public Property ShouldApplyHostNameMetadata As Func(Of ServiceEndpoint, Boolean)

Property Value

Applies to