Show / Hide Table of Contents

Class ExpressionEvaluator

Inheritance
System.Object
ExpressionEvaluator
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.FormulaParsing.ExcelUtilities
Assembly: EPPlus.dll
Syntax
public class ExpressionEvaluator

Constructors

ExpressionEvaluator()

Declaration
public ExpressionEvaluator()

ExpressionEvaluator(WildCardValueMatcher, CompileResultFactory)

Declaration
public ExpressionEvaluator(WildCardValueMatcher wildCardValueMatcher, CompileResultFactory compileResultFactory)
Parameters
Type Name Description
WildCardValueMatcher wildCardValueMatcher
CompileResultFactory compileResultFactory

Methods

Evaluate(Object, IEnumerable<String>)

Returns true if any of the supplied expressions evaluates to true

Declaration
public bool Evaluate(object left, IEnumerable<string> expressions)
Parameters
Type Name Description
System.Object left

The object to evaluate

System.Collections.Generic.IEnumerable<System.String> expressions

The expressions to evaluate the object against

Returns
Type Description
System.Boolean

True if any of the supplied expressions evaluates to true

Evaluate(Object, String)

Returns true if the supplied expression evaluates to true

Declaration
public bool Evaluate(object left, string expression)
Parameters
Type Name Description
System.Object left

The object to evaluate

System.String expression

The expressions to evaluate the object against

Returns
Type Description
System.Boolean

TryConvertToDouble(Object, out Double)

Declaration
public bool TryConvertToDouble(object op, out double d)
Parameters
Type Name Description
System.Object op
System.Double d
Returns
Type Description
System.Boolean
In This Article
  • Constructors
    • ExpressionEvaluator()
    • ExpressionEvaluator(WildCardValueMatcher, CompileResultFactory)
  • Methods
    • Evaluate(Object, IEnumerable<String>)
    • Evaluate(Object, String)
    • TryConvertToDouble(Object, out Double)
Back to top Generated by DocFX