Click or drag to resize

ValueExpressionParserT Methods

The ValueExpressionParserT type exposes the following members.

Methods
  Name Description
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Protected method BuildTree
(Inherited from ExpressionCompiler)
Public method Call
(Inherited from CompiledExpressionT)
Protected method ClearCompiledMethod
(Inherited from CompiledExpressionT)
Public method Compile
(Inherited from CompiledExpressionT)
Public method Compile``1(String)
(Inherited from ExpressionCompiler)
Public method CompileCall
(Inherited from CompiledExpressionT)
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public method Eval
(Inherited from CompiledExpressionT)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method GenerateLambda``2
(Inherited from CompiledExpressionT)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method Static member InitializeType Validates that any static type T functionality is initialized.
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method Parse Parses the expression with the provided parameter expression scope and optional typeRegistry.
Public method ScopeCompile
(Inherited from CompiledExpressionT)
Public method ScopeCompileCall
(Inherited from CompiledExpressionT)
Public method ScopeParse
(Inherited from ExpressionCompiler)
Public method ToString
(Inherited from ExpressionCompiler)
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Protected method WrapExpression(Expression, Boolean)
(Inherited from ExpressionCompiler)
Protected method WrapExpression``1(Expression)
(Inherited from ExpressionCompiler)
Protected method WrapExpressionCall``1
(Inherited from ExpressionCompiler)
Protected method WrapToNull
(Inherited from ExpressionCompiler)
Protected method WrapToVoid
(Inherited from ExpressionCompiler)
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also