2 types derived from ChangeMonitor
System.Runtime.Caching (2)
System\Runtime\Caching\CacheEntryChangeMonitor.cs (1)
10public abstract class CacheEntryChangeMonitor : ChangeMonitor
System\Runtime\Caching\FileChangeMonitor.cs (1)
9public abstract class FileChangeMonitor : ChangeMonitor
22 references to ChangeMonitor
System.Runtime.Caching (22)
System\Runtime\Caching\CacheItemPolicy.cs (3)
13private Collection<ChangeMonitor> _changeMonitors; 24public Collection<ChangeMonitor> ChangeMonitors => _changeMonitors ??= new Collection<ChangeMonitor>();
System\Runtime\Caching\MemoryCache.cs (14)
55private readonly ChangeMonitor _expensiveObjectDependency; 58internal SentinelEntry(string key, ChangeMonitor expensiveObjectDependency, CacheEntryUpdateCallback callback) 70internal ChangeMonitor ExpensiveObjectDependency 88Collection<ChangeMonitor> changeMonitors = policy.ChangeMonitors; 91foreach (ChangeMonitor monitor in changeMonitors) 109foreach (ChangeMonitor monitor in changeMonitors) 385Collection<ChangeMonitor> changeMonitors = null; 404foreach (ChangeMonitor monitor in changeMonitors) 649Collection<ChangeMonitor> changeMonitors = null; 669foreach (ChangeMonitor monitor in changeMonitors) 686Collection<ChangeMonitor> changeMonitors, 710foreach (ChangeMonitor monitor in changeMonitors) 735ChangeMonitor expensiveObjectDep = CreateCacheEntryChangeMonitor(cacheKeys); 736changeMonitors ??= new Collection<ChangeMonitor>();
System\Runtime\Caching\MemoryCacheEntry.cs (5)
34internal Collection<ChangeMonitor> _dependencies; // the entry's dependency needs to be disposed when the entry is released 111Collection<ChangeMonitor> dependencies, 196foreach (ChangeMonitor monitor in _fields._dependencies) 273foreach (ChangeMonitor monitor in _fields._dependencies) 330foreach (ChangeMonitor monitor in _fields._dependencies)