Class CacheEventArgs
Event argument to inform an action on the cache.
public class CacheEventArgs : EventArgs
- Inheritance
-
CacheEventArgs
- Inherited Members
Constructors
CacheEventArgs(string, CacheAction)
Initializes a new instance of the CacheEventArgs class.
public CacheEventArgs(string key, CacheAction action)
Parameters
keystringThe key of the entry.
actionCacheActionThe action performed on the entry.
Properties
Action
Action performed on the object. Can be an update, an insert or a delete.
public CacheAction Action { get; }
Property Value
Key
The string used to identify the object in the cache.
public string Key { get; }