Show / Hide Table of Contents

Class And

Infix AND operation.

Operand Count: 2

Operands

  1. Operand1 : any
  2. Operand2 : any

The input operands are converted to boolean. See the ConvertToBoolean(Object) method for the conversion logic

Output Type: Boolean

Usage: 3 > 2 and 2 > 1

Precedance: 30

Inheritance
System.Object
InfixOperationToken
And
Implements
IToken
Inherited Members
InfixOperationToken.Match(String, Int32, Int32)
InfixOperationToken.Operand1
InfixOperationToken.Operand2
InfixOperationToken.ToString()
InfixOperationToken.EvalText(String)
InfixOperationToken.Clone()
Namespace: Albatross.Expression.Operations
Assembly: Albatross.Expression.dll
Syntax
public class And : InfixOperationToken, IToken

Properties

Name

Declaration
public override string Name { get; }
Property Value
Type Description
System.String
Overrides
InfixOperationToken.Name

Precedence

Declaration
public override int Precedence { get; }
Property Value
Type Description
System.Int32
Overrides
InfixOperationToken.Precedence

Symbolic

Declaration
public override bool Symbolic { get; }
Property Value
Type Description
System.Boolean
Overrides
InfixOperationToken.Symbolic

Methods

EvalValue(Func<String, Object>)

Declaration
public override object EvalValue(Func<string, object> context)
Parameters
Type Name Description
System.Func<System.String, System.Object> context
Returns
Type Description
System.Object
Overrides
InfixOperationToken.EvalValue(Func<String, Object>)

Implements

IToken

Extension Methods

Extensions.ConvertToBoolean(Object)
Extensions.IsVariable(IToken)
Back to top Generated by DocFX