C# Class DotNetWorkQueue.LinqCompile.Decorator.LinqCompileCacheDecorator

Cache decorator for linq compiles
Inheritance: ILinqCompiler
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode Description
CompileAction ( LinqExpressionToRun linqExpression ) : object>.Action

Compiles the input linqExpression into a Linq expression tree

CompileFunction ( LinqExpressionToRun linqExpression ) : Func

Compiles the input linqExpression into a Linq expression tree

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

LinqCompileCacheDecorator ( ILinqCompiler handler, ObjectCache cache, ICachePolicy cachePolicy, IMetrics metrics, IConnectionInformation connectionInformation ) : System

Initializes a new instance of the LinqCompileCacheDecorator class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Private Methods

Méthode Description
GenerateKey ( LinqExpressionToRun linqExpression ) : string

Generates a key for the cache

Method Details

CompileAction() public méthode

Compiles the input linqExpression into a Linq expression tree
public CompileAction ( LinqExpressionToRun linqExpression ) : object>.Action
linqExpression DotNetWorkQueue.Messages.LinqExpressionToRun The linqExpression.
Résultat object>.Action

CompileFunction() public méthode

Compiles the input linqExpression into a Linq expression tree
public CompileFunction ( LinqExpressionToRun linqExpression ) : Func
linqExpression DotNetWorkQueue.Messages.LinqExpressionToRun The linqExpression.
Résultat Func

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

LinqCompileCacheDecorator() public méthode

Initializes a new instance of the LinqCompileCacheDecorator class.
public LinqCompileCacheDecorator ( ILinqCompiler handler, ObjectCache cache, ICachePolicy cachePolicy, IMetrics metrics, IConnectionInformation connectionInformation ) : System
handler ILinqCompiler The handler.
cache ObjectCache The cache.
cachePolicy ICachePolicy The cache policy.
metrics IMetrics The metrics.
connectionInformation IConnectionInformation The connection information.
Résultat System