public class ValueExpressionParser<T> : ExpressionCompiler<T>
where T : class
Public Class ValueExpressionParser(Of T As Class)
Inherits ExpressionCompiler(Of T)
generic<typename T>
where T : ref class
public ref class ValueExpressionParser : public ExpressionCompiler<T>
ValueExpressionParserT(String) | Creates a new ValueExpressionParserT. |
ValueExpressionParserT(IValueExpressionAttribute, PropertyInfo) | Creates a new ValueExpressionParser from the specified valueExpressionAttribute and property parameters deriving the base expression value from GetPropertyUpdateValue(PropertyInfo). |
CompiledAction |
Gets Action delegate for compiled expression.
(Inherited from ExpressionCompilerTResult) |
CompiledExpression |
Gets the compiled Linq Expression after C# Code Expression is compiled.
(Inherited from ExpressionCompilerTResult, TInstanceParameter) |
CompiledFunction |
Gets FuncTResult delegate for compiled expression.
(Inherited from ExpressionCompilerTResult) |
Expression |
Gets the C# code expression to compile.
(Inherited from ExpressionCompilerTResult, TInstanceParameter) |
InstanceParameterType |
Gets or sets the instance parameter Type used for defining expression accessible
field values, defaults to TInstanceParameter.
(Inherited from ExpressionCompilerTResult, TInstanceParameter) |
TypeRegistry |
Gets or sets the TypeRegistry used for compilation.
(Inherited from ExpressionCompilerTResult, TInstanceParameter) |
ApplyDefaults(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will update an instance of type T applying any specified DefaultValueAttribute or DefaultValueExpressionAttribute instances that are declared on the type T properties. Target T instance is accepted as the parameter to the returned delegate ActionT. |
ApplyDefaultsTExpressionScope(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will update an instance of type T accepting a contextual IValueExpressionScopeT object parameter applying any specified DefaultValueAttribute or DefaultValueExpressionAttribute instances that are declared on the type T properties. Target T instance needs to be assigned to the Instance property prior to call. |
ApplyDefaultsForTypeTValueExpressionAttribute(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will update an instance of type T applying any specified DefaultValueAttribute or TValueExpressionAttribute instances that are declared on the type T properties. Target T instance is accepted as the parameter to the returned delegate ActionT. |
ApplyDefaultsForTypeTValueExpressionAttribute, TExpressionScope(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will update an instance of type T accepting a contextual IValueExpressionScopeT object parameter applying any specified DefaultValueAttribute or TValueExpressionAttribute instances that are declared on the type T properties. Target T instance needs to be assigned to the Instance property prior to call. |
Compile |
Compiles C# Expression.
(Inherited from ExpressionCompilerTResult, TInstanceParameter) |
CreateInstance(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will create new instance of type T applying any specified DefaultValueAttribute or DefaultValueExpressionAttribute instances that are declared on the type T properties. |
CreateInstanceTExpressionScope(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will create new instance of type T accepting a contextual IValueExpressionScopeT object parameter applying any specified DefaultValueAttribute or DefaultValueExpressionAttribute instances that are declared on the type T properties. |
CreateInstanceForTypeTValueExpressionAttribute(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will create new instance of type T applying any specified DefaultValueAttribute or TValueExpressionAttribute instances that are declared on the type T properties. |
CreateInstanceForTypeTValueExpressionAttribute, TExpressionScope(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will create new instance of type T accepting a contextual IValueExpressionScopeT object parameter applying any specified DefaultValueAttribute or TValueExpressionAttribute instances that are declared on the type T properties. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
ExecuteAction |
Executes compiled Action based expression.
(Inherited from ExpressionCompilerTResult) |
ExecuteAction(TInstanceParameter) |
Executes compiled ActionT based expression.
(Inherited from ExpressionCompilerTResult, TInstanceParameter) |
ExecuteFunction |
Executes compiled FuncTResult based expression.
(Inherited from ExpressionCompilerTResult) |
ExecuteFunction(TInstanceParameter) |
Executes compiled FuncT, TResult based expression.
(Inherited from ExpressionCompilerTResult, TInstanceParameter) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
InitializeType | Validates that any static type T functionality is initialized. |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
Parse | Parses the expression with the provided parameter expression scope and optional typeRegistry. |
ToString |
Returns a string that represents the ExpressionCompilerTResult, TInstanceParameter, i.e., the Expression value.
(Inherited from ExpressionCompilerTResult, TInstanceParameter) |
UpdateExpressions(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will execute expression assignments on an instance of type T where expressions are TypeConvertedValueExpressionAttribute instances that are declared on the type T properties. Target T instance is accepted as the parameter to the returned delegate ActionT. |
UpdateExpressionsTExpressionScope(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will execute expression assignments on an instance of type T accepting a contextual IValueExpressionScopeT object parameter where expressions are TypeConvertedValueExpressionAttribute instances that are declared on the type T properties. Target T instance needs to be assigned to the Instance property prior to call. |
UpdateExpressionsForTypeTValueExpressionAttribute(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will execute expression assignments on an instance of type T where expressions are TValueExpressionAttribute instances that are declared on the type T properties. Target T instance is accepted as the parameter to the returned delegate ActionT. |
UpdateExpressionsForTypeTValueExpressionAttribute, TExpressionScope(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will execute expression assignments on an instance of type T accepting a contextual IValueExpressionScopeT object parameter where expressions are TValueExpressionAttribute instances that are declared on the type T properties. Target T instance needs to be assigned to the Instance property prior to call. |
UpdateInstance(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will update an instance of type T applying any specified UpdateValueExpressionAttribute instances that are declared on the type T properties. Target T instance is accepted as the parameter to the returned delegate ActionT. |
UpdateInstanceTExpressionScope(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will update an instance of type T accepting a contextual IValueExpressionScopeT object parameter applying any specified UpdateValueExpressionAttribute instances that are declared on the type T properties. Target T instance needs to be assigned to the Instance property prior to call. |
UpdateInstanceForTypeTValueExpressionAttribute(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will update an instance of type T applying any specified TValueExpressionAttribute instances that are declared on the type T properties. Target T instance is accepted as the parameter to the returned delegate ActionT. |
UpdateInstanceForTypeTValueExpressionAttribute, TExpressionScope(IEnumerablePropertyInfo, TypeRegistry) | Generates a delegate that will update an instance of type T accepting a contextual IValueExpressionScopeT object parameter applying any specified TValueExpressionAttribute instances that are declared on the type T properties. Target T instance needs to be assigned to the Instance property prior to call. |
UpdateProperties | Generates a delegate that will update an instance of type T assigning values from TypeConvertedValueExpressionAttribute instances that are declared on the type T properties to the property values. Target T instance is accepted as the parameter to the returned delegate ActionT. |