Click or drag to resize

ValueExpressionParser Class

Represents a parser for IValueExpressionAttribute instances.
Inheritance Hierarchy
SystemObject
  ExpressionCompiler
    CompiledExpressionObject
      GSF.ComponentModelValueExpressionParserObject
        GSF.ComponentModelValueExpressionParser

Namespace: GSF.ComponentModel
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public class ValueExpressionParser : ValueExpressionParser<Object>
View Source

The ValueExpressionParser type exposes the following members.

Constructors
 NameDescription
Public methodValueExpressionParser(String) Creates a new ValueExpressionParser.
Public methodValueExpressionParser(IValueExpressionAttribute, PropertyInfo) Creates a new ValueExpressionParser from the specified valueExpressionAttribute and property parameters deriving the base expression value from GetPropertyUpdateValue(PropertyInfo).
Top
Properties
 NameDescription
Public propertyStatic memberDefaultTypeRegistry Gets the default TypeRegistry instance used for evaluating IValueExpressionAttribute instances.
Public propertyDynamicTypeLookup
(Inherited from ExpressionCompiler)
Public propertyExpression
(Inherited from ExpressionCompiler)
Public propertyExpressionType
(Inherited from ExpressionCompiler)
Public propertyGlobal
(Inherited from CompiledExpressionObject)
Public propertyLambdaExpression
(Inherited from ExpressionCompiler)
Public propertyStringToParse
(Inherited from ExpressionCompiler)
Public propertyTypeRegistry
(Inherited from ExpressionCompiler)
Top
Methods
 NameDescription
Protected methodBuildTree
(Inherited from ExpressionCompiler)
Public methodCall
(Inherited from CompiledExpressionObject)
Protected methodClearCompiledMethod
(Inherited from CompiledExpressionObject)
Public methodCompile
(Inherited from CompiledExpressionObject)
Public methodCompile``1(String)
(Inherited from ExpressionCompiler)
Public methodCompileCall
(Inherited from CompiledExpressionObject)
Public methodStatic memberDeriveExpression Derives an expression based on member info with any this keywords properly referencing Instance value.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodEval
(Inherited from CompiledExpressionObject)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGenerateLambda``2
(Inherited from CompiledExpressionObject)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberHasThisKeywords Returns a flag that determines if the "this" keyword exists with the specified expression.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodParse Parses the expression with the provided parameter expression scope and optional typeRegistry.
(Inherited from ValueExpressionParserT)
Public methodStatic memberReplaceThisKeywords Replaces references to "this" keyword with a specified fieldName.
Public methodScopeCompile
(Inherited from CompiledExpressionObject)
Public methodScopeCompileCall
(Inherited from CompiledExpressionObject)
Public methodScopeParse
(Inherited from ExpressionCompiler)
Public methodToString
(Inherited from ExpressionCompiler)
Protected methodWrapExpression(Expression, Boolean)
(Inherited from ExpressionCompiler)
Protected methodWrapExpression``1(Expression)
(Inherited from ExpressionCompiler)
Protected methodWrapExpressionCall``1
(Inherited from ExpressionCompiler)
Protected methodWrapToNull
(Inherited from ExpressionCompiler)
Protected methodWrapToVoid
(Inherited from ExpressionCompiler)
Top
Fields
 NameDescription
Protected fieldParser
(Inherited from ExpressionCompiler)
Protected fieldPstr
(Inherited from ExpressionCompiler)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also