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