2 references to CreateEndpoint
Microsoft.Extensions.ServiceDiscovery.Dns (2)
DnsSrvServiceEndpointProvider.cs (2)
50
endpoints.Add(
CreateEndpoint
(new IPEndPoint(address.Address, record.Port)));
55
endpoints.Add(
CreateEndpoint
(new DnsEndPoint(record.Target.TrimEnd('.'), record.Port)));