Class DefaultExpressionPolicy
A default implementation of the expression policy.
Inheritance
Namespace: Reaqtive.Expressions
Assembly: Reaqtive.Quotation.dll
Syntax
public class DefaultExpressionPolicy : Object, IExpressionPolicy, IExpressionEvaluationPolicy, IExpressionSerializationPolicy
Fields
Instance
Default expression policy without any side-effects.
Declaration
public static readonly DefaultExpressionPolicy Instance
Field Value
Type | Description |
---|---|
DefaultExpressionPolicy |
Properties
ConstantHoister
Constant hoister for optimized sharing in expressions and evaluation.
Declaration
public IConstantHoister ConstantHoister { get; }
Property Value
Type | Description |
---|---|
IConstantHoister |
DelegateCache
Cache for in-memory storage of expressions.
Declaration
public ICompiledDelegateCache DelegateCache { get; }
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; }
Property Value
Type | Description |
---|---|
IExpressionFactory |
InMemoryCache
Compiled delegate cache for reuse across expressions.
Declaration
public ICache<Expression> InMemoryCache { get; }
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; }
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; }
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; }
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; }
Property Value
Type | Description |
---|---|
IReflectionProvider |