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)
35
var serviceEndpoint = ServiceEndpoint.
Create
(new IPEndPoint(address, 0));
DnsSrvServiceEndpointProvider.cs (1)
90
var serviceEndpoint = ServiceEndpoint.
Create
(endPoint);
Microsoft.Extensions.ServiceDiscovery.Tests (10)
ExtensionsServicePublicApiTests.cs (1)
169
var action = () => ServiceEndpoint.
Create
(endPoint);
ServiceEndpointResolverTests.cs (7)
91
collection.Endpoints.Add(ServiceEndpoint.
Create
(new IPEndPoint(IPAddress.Parse("127.1.1.1"), 8080)));
96
collection.Endpoints.Add(ServiceEndpoint.
Create
(new IPEndPoint(IPAddress.Parse("127.1.1.2"), 8888)));
143
collection.Endpoints.Add(ServiceEndpoint.
Create
(new IPEndPoint(IPAddress.Parse("127.1.1.1"), 8080)));
148
collection.Endpoints.Add(ServiceEndpoint.
Create
(new IPEndPoint(IPAddress.Parse("127.1.1.2"), 8888)));
179
collection.Endpoints.Add(ServiceEndpoint.
Create
(new IPEndPoint(IPAddress.Parse("127.1.1.1"), 8080)));
184
collection.Endpoints.Add(ServiceEndpoint.
Create
(new IPEndPoint(IPAddress.Parse("127.1.1.2"), 8888)));
231
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);