2 references to CreateEndpoint
Microsoft.Extensions.ServiceDiscovery.Dns (2)
DnsSrvServiceEndpointProvider.cs (2)
62endpoints.Add(CreateEndpoint(new IPEndPoint(addressRecord.Address, record.Port))); 66endpoints.Add(CreateEndpoint(new DnsEndPoint(canonicalNameRecord.CanonicalName.Value.TrimEnd('.'), record.Port)));