Class CacheEventArgs
Event arguments for a cache event.
Inheritance
System.Object
CacheEventArgs
Namespace: System.Linq.Expressions
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public class CacheEventArgs : EventArgs
Constructors
CacheEventArgs(LambdaExpression, Delegate)
Creates a new event argument associated with the specified cache entry.
Declaration
public CacheEventArgs(LambdaExpression expression, Delegate delegate)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.LambdaExpression | expression | Lambda expression used as the key of the cache entry. |
System.Delegate | delegate | Delegate used as the value of the cache entry. |
Properties
Delegate
Gets the delegate used as the value of the cache entry.
Declaration
public Delegate Delegate { get; }
Property Value
Type | Description |
---|---|
System.Delegate |
Lambda
Gets the lambda expression used as the key of the cache entry.
Declaration
public LambdaExpression Lambda { get; }
Property Value
Type | Description |
---|---|
System.Linq.Expressions.LambdaExpression |