2 instantiations of ChangeTokenInfo
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalFilesWatcher.cs (2)
180
tokenInfo = new
ChangeTokenInfo
(cancellationTokenSource, cancellationChangeToken);
217
tokenInfo = new
ChangeTokenInfo
(cancellationTokenSource, cancellationChangeToken, matcher);
7 references to ChangeTokenInfo
Microsoft.Extensions.FileProviders.Physical (7)
PhysicalFilesWatcher.cs (7)
29
private readonly ConcurrentDictionary<string,
ChangeTokenInfo
> _filePathTokenLookup = new(StringComparer.OrdinalIgnoreCase);
30
private readonly ConcurrentDictionary<string,
ChangeTokenInfo
> _wildcardTokenLookup = new(StringComparer.OrdinalIgnoreCase);
176
if (!_filePathTokenLookup.TryGetValue(filePath, out
ChangeTokenInfo
tokenInfo))
211
if (!_wildcardTokenLookup.TryGetValue(pattern, out
ChangeTokenInfo
tokenInfo))
378
if (_filePathTokenLookup.TryRemove(path, out
ChangeTokenInfo
matchInfo))
384
foreach (System.Collections.Generic.KeyValuePair<string,
ChangeTokenInfo
> wildCardEntry in _wildcardTokenLookup)
453
private static void CancelToken(
ChangeTokenInfo
matchInfo)