6 references to _resolvers
Microsoft.Extensions.ServiceDiscovery (6)
ServiceEndpointResolver.cs (6)
53
var resolver =
_resolvers
.GetOrAdd(
70
_resolvers
.TryRemove(KeyValuePair.Create(resolver.ServiceName, resolver));
122
foreach (var resolver in
_resolvers
)
127
_resolvers
.Clear();
148
foreach (var (name, resolver) in
_resolvers
)
150
if (resolver.CanExpire() &&
_resolvers
.TryRemove(name, out var _))