Table of Contents

Class CacheEventArgs

Namespace
Arc4u.Caching
Assembly
Arc4u.Caching.dll

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

key string

The key of the entry.

action CacheAction

The 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

CacheAction

Key

The string used to identify the object in the cache.

public string Key { get; }

Property Value

string