Table of Contents

Class Or

Namespace
Albatross.Expression.Infix
Assembly
Albatross.Expression.dll

Infix OR operation.

Operand Count: 2

Operands

  1. Operand1 : any
  2. Operand2 : any

Output Type: Boolean

Usage: 3 > 2 or 2 > 1

Precedance: 20

public class Or : InfixExpression, IInfixExpression, IExpression, IToken, IHasPrecedence
Inheritance
Or
Implements
Inherited Members
Extension Methods

Constructors

Or()

public Or()

Methods

Run(object, object)

Executes the infix operation with the evaluated left and right operands. Derived classes should override this method to implement specific operations.

protected override object Run(object left, object right)

Parameters

left object

The evaluated left operand value.

right object

The evaluated right operand value.

Returns

object

The result of the operation.