Click or drag to resize

BooleanExpression Class

Represents a boolean expression that can be parsed and executed at runtime.
Inheritance Hierarchy
SystemObject
  GSF.ParsingBooleanExpression

Namespace: GSF.Parsing
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public class BooleanExpression
View Source

The BooleanExpression type exposes the following members.

Constructors
 NameDescription
Public methodBooleanExpression(String) Creates a new instance of the BooleanExpression class.
Public methodBooleanExpression(String, IEqualityComparerString) Creates a new instance of the BooleanExpression class.
Top
Properties
 NameDescription
Public propertyItem Gets the variable identified by the given identifier.
Public propertyVariables Gets the list of variables found while parsing the boolean expression.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodEvaluate Evaluates the expression using the current values of the variables.
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 methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetVariable Attempts to get the variable identified by the given identifier.
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
Remarks
Binary operators have the same level of precedence and are evaluated from right to left.
See Also