13 references to ServiceEndpointWatcherFactory
Microsoft.Extensions.ServiceDiscovery (9)
Http\HttpServiceEndpointResolver.cs (2)
14internal sealed class HttpServiceEndpointResolver(ServiceEndpointWatcherFactory watcherFactory, IServiceProvider serviceProvider, TimeProvider timeProvider) : IAsyncDisposable 20private readonly ServiceEndpointWatcherFactory _watcherFactory = watcherFactory;
Http\ServiceDiscoveryHttpMessageHandlerFactory.cs (1)
11ServiceEndpointWatcherFactory factory,
ServiceDiscoveryHttpClientBuilderExtensions.cs (2)
29var watcherFactory = services.GetRequiredService<ServiceEndpointWatcherFactory>();
ServiceDiscoveryServiceCollectionExtensions.cs (2)
66services.TryAddSingleton<ServiceEndpointWatcherFactory>(); 68services.TryAddSingleton(sp => new ServiceEndpointResolver(sp.GetRequiredService<ServiceEndpointWatcherFactory>(), sp.GetRequiredService<TimeProvider>()));
ServiceEndpointResolver.cs (2)
18private readonly ServiceEndpointWatcherFactory _watcherFactory; 30internal ServiceEndpointResolver(ServiceEndpointWatcherFactory watcherFactory, TimeProvider timeProvider)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
DnsSrvServiceEndpointResolverTests.cs (1)
18/// These also cover <see cref="ServiceEndpointWatcher"/> and <see cref="ServiceEndpointWatcherFactory"/> by extension.
Microsoft.Extensions.ServiceDiscovery.Tests (3)
ConfigurationServiceEndpointResolverTests.cs (1)
16/// These also cover <see cref="ServiceEndpointWatcher"/> and <see cref="ServiceEndpointWatcherFactory"/> by extension.
PassThroughServiceEndpointResolverTests.cs (1)
16/// These also cover <see cref="ServiceEndpointWatcher"/> and <see cref="ServiceEndpointWatcherFactory"/> by extension.
ServiceEndpointResolverTests.cs (1)
18/// Tests for <see cref="ServiceEndpointWatcherFactory"/> and <see cref="ServiceEndpointWatcher"/>.