2 implementations of IServiceEndpointProvider
Microsoft.Extensions.ServiceDiscovery (1)
Configuration\ConfigurationServiceEndpointProvider.cs (1)
15internal sealed partial class ConfigurationServiceEndpointProvider : IServiceEndpointProvider, IHostNameFeature
Microsoft.Extensions.ServiceDiscovery.Dns (1)
DnsServiceEndpointProviderBase.cs (1)
12internal abstract partial class DnsServiceEndpointProviderBase : IServiceEndpointProvider
20 references to IServiceEndpointProvider
Microsoft.Extensions.ServiceDiscovery (10)
Configuration\ConfigurationServiceEndpointProvider.cs (1)
232serviceEndpoint.Features.Set<IServiceEndpointProvider>(this);
Configuration\ConfigurationServiceEndpointProviderFactory.cs (1)
21public bool TryCreateProvider(ServiceEndpointQuery query, [NotNullWhen(true)] out IServiceEndpointProvider? provider)
PassThrough\PassThroughServiceEndpointProvider.cs (2)
12internal sealed partial class PassThroughServiceEndpointProvider(ILogger logger, string serviceName, EndPoint endPoint) : IServiceEndpointProvider 20ep.Features.Set<IServiceEndpointProvider>(this);
PassThrough\PassThroughServiceEndpointProviderFactory.cs (1)
16public bool TryCreateProvider(ServiceEndpointQuery query, [NotNullWhen(true)] out IServiceEndpointProvider? provider)
ServiceEndpointWatcher.cs (2)
17IServiceEndpointProvider[] providers, 29private readonly IServiceEndpointProvider[] _providers = providers;
ServiceEndpointWatcher.Log.cs (1)
30if (ep.Features.Get<IServiceEndpointProvider>() is { } provider)
ServiceEndpointWatcherFactory.cs (1)
38List<IServiceEndpointProvider>? providers = null;
ServiceEndpointWatcherFactory.Log.cs (1)
15public static void CreatingResolver(ILogger logger, string serviceName, List<IServiceEndpointProvider> providers)
Microsoft.Extensions.ServiceDiscovery.Abstractions (3)
IServiceEndpointProviderFactory.cs (3)
9/// Creates <see cref="IServiceEndpointProvider"/> instances. 14/// Tries to create an <see cref="IServiceEndpointProvider"/> instance for the specified <paramref name="query"/>. 19bool TryCreateProvider(ServiceEndpointQuery query, [NotNullWhen(true)] out IServiceEndpointProvider? provider);
Microsoft.Extensions.ServiceDiscovery.Dns (4)
DnsServiceEndpointProvider.cs (1)
36serviceEndpoint.Features.Set<IServiceEndpointProvider>(this);
DnsServiceEndpointProviderFactory.cs (1)
16public bool TryCreateProvider(ServiceEndpointQuery query, [NotNullWhen(true)] out IServiceEndpointProvider? provider)
DnsSrvServiceEndpointProvider.cs (1)
91serviceEndpoint.Features.Set<IServiceEndpointProvider>(this);
DnsSrvServiceEndpointProviderFactory.cs (1)
23public bool TryCreateProvider(ServiceEndpointQuery query, [NotNullWhen(true)] out IServiceEndpointProvider? provider)
Microsoft.Extensions.ServiceDiscovery.Tests (3)
ServiceEndpointResolverTests.cs (3)
67private sealed class FakeEndpointResolverProvider(Func<ServiceEndpointQuery, (bool Result, IServiceEndpointProvider? Resolver)> createResolverDelegate) : IServiceEndpointProviderFactory 69public bool TryCreateProvider(ServiceEndpointQuery query, [NotNullWhen(true)] out IServiceEndpointProvider? resolver) 77private sealed class FakeEndpointResolver(Func<IServiceEndpointBuilder, CancellationToken, ValueTask> resolveAsync, Func<ValueTask> disposeAsync) : IServiceEndpointProvider