ExpressionCompilerTResult, 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.110 -- Release Build+d9cbb49d009f536d325018112e5411c7c36b5400
public class ExpressionCompiler<TResult, TInstanceParameter>
where TInstanceParameter : class
Inheritance
Object    ExpressionCompilerTResult, TInstanceParameter
Derived

Type Parameters

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

Constructors

ExpressionCompilerTResult, TInstanceParameter Creates a new ExpressionCompilerTResult, TInstanceParameter.

Properties

CompiledAction Gets ActionT delegate for compiled expression.
CompiledExpression Gets the compiled Linq Expression after C# Code Expression is compiled.
CompiledFunction Gets FuncT, 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 ActionT based expression.
ExecuteFunction Executes compiled FuncT, 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 ExpressionCompilerTResult, TInstanceParameter, i.e., the Expression value.
(Overrides ObjectToString)

See Also