Click or drag to resize

ExpressionParser Methods

The ExpressionParser type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberExtractFieldKeys(String)
Construct a set of keys for the fields referenced in the specified expression.
Public methodStatic memberExtractFieldKeys(String, Boolean)
Construct a set of keys for the fields referenced in the specified expression.
Public methodStatic memberExtractFlags
Converts a string of field expression flags to their corresponding FieldExpressionAttrs. Field expression flags occur in field expressions immediately following the opening square bracket.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberHasReferences
Determines if the specified expression MIGHT include Field References by checking for the existence of any field reference prefixes. See HasReferencesOrEmbeddedFunctions(String) to also check for Embedded Functions.
Public methodStatic memberHasReferencesOrEmbeddedFunctions
Determines if the specified expression MIGHT include Field References or Embedded Functions by checking for the existence of any field reference or embedded function prefixes. See HasReferences(String) to only test for Field References.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse(String, String)
Parse a field expression extracting its FieldExpressionAttrs and reference string. Flag characters, if any, must precede the expression itself and any leading and/or trailing square brackets will be removed.
Public methodStatic memberParse(String, String, String)
Parse a field expression into its FieldExpressionAttrs and reference string. Flag characters, if any, must precede the expression itself.
Public methodStatic memberPerformExpressionModification
Modify a resolved expression per the specified FieldExpressionAttrs.
Public methodStatic memberResolveReferences
Common helper function to resolve a string of references, given a list of possible replacement values (contained in property collection).
Public methodStatic memberToNumericString
Convert a supposedly numeric string into a validated numeric string. This method has two purposes:
  1. Convert likely non-numerics to valid numerics. In particular, null/empty string to zero, "false" to zero, "true" to one.
  2. Protect against possible SQL injection attack by converting supposedly numeric values that don't parse to zero.
In the case of an unexpected, non-parsable value, a simple SQL injection attack detection is performed and a devlog and request log entry generated if a SQL injection attempt looks likely.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also