ExpressionCompiler<TResult, TInstanceParameter> Class

Represents a runtime C# expression evaluator, strongly typed for a specific return value TResult and instance parameter values TInstanceParameter.

Definition

Namespace: Gemstone.Expressions.Evaluator
Assembly: Gemstone.Expressions (in Gemstone.Expressions.dll) Version: 1.0.128 -- Release Build+cfed08c7efcabf54b006110ecd862a6bfcb7b819
public class ExpressionCompiler<TResult, TInstanceParameter>
where TInstanceParameter : class
Inheritance
Object    ExpressionCompiler<TResult, TInstanceParameter>
Derived

Type Parameters

TResult
Return value Type for function based expressions.
TInstanceParameter
Instance parameter Type used to define expression accessible field values.

Constructors

ExpressionCompiler<TResult, TInstanceParameter> Creates a new ExpressionCompiler<TResult, TInstanceParameter>.

Properties

CompiledAction Gets Action<T> delegate for compiled expression.
CompiledExpression Gets the compiled Linq Expression after C# Code Expression is compiled.
CompiledFunction Gets Func<T, TResult> delegate for compiled expression.
Expression Gets the C# code expression to compile.
InstanceParameterType Gets or sets the instance parameter Type used for defining expression accessible field values, defaults to TInstanceParameter.
TypeRegistry Gets or sets the TypeRegistry used for compilation.

Methods

Compile Compiles C# Expression.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
ExecuteAction Executes compiled Action<T> based expression.
ExecuteFunction Executes compiled Func<T, TResult> based expression.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString Returns a string that represents the ExpressionCompiler<TResult, TInstanceParameter>, i.e., the Expression value.
(Overrides Object.ToString())

See Also