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
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue

공개 메소드들

메소드 설명
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