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:
 property Func<Microsoft::Extensions::ServiceDiscovery::ServiceEndpoint ^, bool> ^ ShouldApplyHostNameMetadata { Func<Microsoft::Extensions::ServiceDiscovery::ServiceEndpoint ^, bool> ^ get(); void set(Func<Microsoft::Extensions::ServiceDiscovery::ServiceEndpoint ^, bool> ^ value); };
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