Class ExpressionPolicy
Expression policy with settable properties.
Inheritance
Namespace: Reaqtor.QueryEngine
Assembly: Reaqtor.QueryEngine.dll
Syntax
public class ExpressionPolicy : Object, IExpressionPolicy, IExpressionEvaluationPolicy, IExpressionSerializationPolicy
Properties
ConstantHoister
Constant hoister for optimized sharing in expressions and evaluation.
Declaration
public IConstantHoister ConstantHoister { get; set; }
Property Value
| Type | Description |
|---|---|
| IConstantHoister |
DelegateCache
Compiled delegate cache for reuse across expressions.
Declaration
public ICompiledDelegateCache DelegateCache { get; set; }
Property Value
| Type | Description |
|---|---|
| ICompiledDelegateCache |
ExpressionFactory
Gets the expression factory to use for reducing ExpressionSlim instances to Expression instances during deserialization.
Declaration
public IExpressionFactory ExpressionFactory { get; set; }
Property Value
| Type | Description |
|---|---|
| IExpressionFactory |
InMemoryCache
Cache for in-memory storage of expressions.
Declaration
public ICache<Expression> InMemoryCache { get; set; }
Property Value
| Type | Description |
|---|---|
| ICache<System.Linq.Expressions.Expression> |
LiftMemoizer
Gets the memoizer used to memoize strongly typed lift functions used by the expression serializer.
Declaration
public IMemoizer LiftMemoizer { get; set; }
Property Value
| Type | Description |
|---|---|
| IMemoizer |
OutlineCompilation
Specifies whether nested lambda expressions should be outlined into delegate constants by recursive compilation using the cache.
Declaration
public bool OutlineCompilation { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ReduceMemoizer
Gets the memoizer used to memoize strongly typed reduce functions used by the expression deserializer.
Declaration
public IMemoizer ReduceMemoizer { get; set; }
Property Value
| Type | Description |
|---|---|
| IMemoizer |
ReflectionProvider
Gets the reflection provider to use for reducing ExpressionSlim instances to Expression instances during deserialization.
Declaration
public IReflectionProvider ReflectionProvider { get; set; }
Property Value
| Type | Description |
|---|---|
| IReflectionProvider |