14 references to Create
Microsoft.Extensions.ServiceDiscovery (2)
Configuration\ConfigurationServiceEndpointProvider.cs (1)
231
var serviceEndpoint = ServiceEndpoint.
Create
(endPoint);
PassThrough\PassThroughServiceEndpointProvider.cs (1)
19
var ep = ServiceEndpoint.
Create
(endPoint);
Microsoft.Extensions.ServiceDiscovery.Dns (2)
DnsServiceEndpointProvider.cs (1)
59
var serviceEndpoint = ServiceEndpoint.
Create
(endPoint);
DnsSrvServiceEndpointProvider.cs (1)
69
var serviceEndpoint = ServiceEndpoint.
Create
(endPoint);
Microsoft.Extensions.ServiceDiscovery.Tests (10)
ExtensionsServicePublicApiTests.cs (1)
169
var action = () => ServiceEndpoint.
Create
(endPoint);
ServiceEndpointResolverTests.cs (7)
93
collection.Endpoints.Add(ServiceEndpoint.
Create
(new IPEndPoint(IPAddress.Parse("127.1.1.1"), 8080)));
98
collection.Endpoints.Add(ServiceEndpoint.
Create
(new IPEndPoint(IPAddress.Parse("127.1.1.2"), 8888)));
145
collection.Endpoints.Add(ServiceEndpoint.
Create
(new IPEndPoint(IPAddress.Parse("127.1.1.1"), 8080)));
150
collection.Endpoints.Add(ServiceEndpoint.
Create
(new IPEndPoint(IPAddress.Parse("127.1.1.2"), 8888)));
181
collection.Endpoints.Add(ServiceEndpoint.
Create
(new IPEndPoint(IPAddress.Parse("127.1.1.1"), 8080)));
186
collection.Endpoints.Add(ServiceEndpoint.
Create
(new IPEndPoint(IPAddress.Parse("127.1.1.2"), 8888)));
233
collection.Endpoints.Add(ServiceEndpoint.
Create
(new IPEndPoint(IPAddress.Parse("127.1.1.1"), 8080)));
ServiceEndpointTests.cs (2)
29
var serviceEndpoint = ServiceEndpoint.
Create
(endpoint);
38
var serviceEndpoint = ServiceEndpoint.
Create
(endpoint);