13 references to ServiceEndpointWatcher
Microsoft.Extensions.ServiceDiscovery (9)
Http\HttpServiceEndpointResolver.cs (2)
165private readonly ServiceEndpointWatcher _watcher; 173public ResolverEntry(ServiceEndpointWatcher watcher, IServiceEndpointSelector selector)
ServiceEndpointResolver.cs (2)
170private sealed class ResolverEntry(ServiceEndpointWatcher watcher) : IAsyncDisposable 172private readonly ServiceEndpointWatcher _watcher = watcher;
ServiceEndpointWatcher.cs (2)
23private static readonly TimerCallback s_pollingAction = static state => _ = ((ServiceEndpointWatcher)state!).RefreshAsync(force: true); 162_changeTokenRegistration = endpoints.ChangeToken.RegisterChangeCallback(static state => _ = ((ServiceEndpointWatcher)state!).RefreshAsync(force: false), this);
ServiceEndpointWatcherFactory.cs (3)
15ILogger<ServiceEndpointWatcher> logger, 22private readonly ILogger<ServiceEndpointWatcher> _logger = logger; 29public ServiceEndpointWatcher CreateWatcher(string serviceName)
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"/>.