Table of Contents

Class And

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

Represents the logical AND operator that returns true when both operands are true.

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

Constructors

And()

Initializes a new instance of the And class.

public And()

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.