1 write to ChangeToken
Microsoft.Extensions.ServiceDiscovery.Abstractions (1)
ServiceEndpointSource.cs (1)
32ChangeToken = changeToken;
6 references to ChangeToken
Microsoft.Extensions.ServiceDiscovery (4)
ServiceEndpointWatcher.cs (4)
68if (_cachedEndpoints is { ChangeToken.HasChanged: false } cached) 99if (!_disposalCancellation.IsCancellationRequested && _refreshTask.IsCompleted && (_cacheState == CacheStatus.Invalid || _cachedEndpoints is null or { ChangeToken.HasChanged: true } || force)) 159if (endpoints.ChangeToken.ActiveChangeCallbacks) 162_changeTokenRegistration = endpoints.ChangeToken.RegisterChangeCallback(static state => _ = ((ServiceEndpointWatcher)state!).RefreshAsync(force: false), this);
Microsoft.Extensions.ServiceDiscovery.Abstractions (1)
ServiceEndpointSource.cs (1)
63public IChangeToken ChangeToken => value.ChangeToken;
Microsoft.Extensions.ServiceDiscovery.Yarp (1)
ServiceDiscoveryDestinationResolver.cs (1)
104return (results, result.ChangeToken);