C# Class ExpressionParser.ComparisonOperator

Comparison Operator Class providing evaluation services for "==", "!=","<", "<=", ">", ">=" operators.
Inheritance: Operator
Show file Open project: IndiansIncredible/.NetIDS Class Usage Examples

Public Methods

Method Description
ComparisonOperator ( char cOperator ) : System
ComparisonOperator ( string szOperator ) : System
Eval ( IOperand lhs, IOperand rhs ) : IOperand

Method Details

ComparisonOperator() public method

public ComparisonOperator ( char cOperator ) : System
cOperator char
return System

ComparisonOperator() public method

public ComparisonOperator ( string szOperator ) : System
szOperator string
return System

Eval() public method

public Eval ( IOperand lhs, IOperand rhs ) : IOperand
lhs IOperand
rhs IOperand
return IOperand