C# Класс DotNetWorkQueue.LinqCompile.DynamicCodeCompiler

A wrapper for Compiler that allows for caching of application domain instances
This class is not thread safe - the caller must ensure that only one thread acts on an single instance.
Наследование: IPooledObject, IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

DynamicCodeCompiler ( ILogFactory log ) : System
ResetState ( ) : void

Resets the state of the instance before re-adding it to the pool

There is no guarantee that this method is called for instances not being added to the pool

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Описание методов

CompileAction() публичный Метод

Compiles the input linqExpression into a Linq expression tree
public CompileAction ( LinqExpressionToRun linqExpression ) : object>.Action
linqExpression DotNetWorkQueue.Messages.LinqExpressionToRun The linqExpression.
Результат object>.Action

CompileFunction() публичный Метод

Compiles the input linqExpression into a Linq expression tree
public CompileFunction ( LinqExpressionToRun linqExpression ) : Func
linqExpression DotNetWorkQueue.Messages.LinqExpressionToRun The linqExpression.
Результат Func

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

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.
Результат void

DynamicCodeCompiler() публичный Метод

public DynamicCodeCompiler ( ILogFactory log ) : System
log ILogFactory
Результат System

ResetState() публичный Метод

Resets the state of the instance before re-adding it to the pool
There is no guarantee that this method is called for instances not being added to the pool
public ResetState ( ) : void
Результат void