Show / Hide Table of Contents

Class BooleanExpression

A boolean expression.

Inheritance
System.Object
BooleanExpression
QueryPredicate
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: Redis.OM.Common
Assembly: Redis.OM.dll
Syntax
public abstract class BooleanExpression

Properties

| Improve this Doc View Source

Expression

Gets or sets the Lambda expression.

Declaration
protected LambdaExpression Expression { get; set; }
Property Value
Type Description
System.Linq.Expressions.LambdaExpression

Methods

| Improve this Doc View Source

SplitBinaryExpression(BinaryExpression, Stack<String>)

Splits the binary expression into a usable query.

Declaration
protected abstract void SplitBinaryExpression(BinaryExpression expression, Stack<string> stack)
Parameters
Type Name Description
System.Linq.Expressions.BinaryExpression expression

the expression.

System.Collections.Generic.Stack<System.String> stack

the operand stack.

| Improve this Doc View Source

SplitExpression()

splits the expression recursively.

Declaration
protected Stack<string> SplitExpression()
Returns
Type Description
System.Collections.Generic.Stack<System.String>

a stack of predicate strings.

| Improve this Doc View Source

ValidateAndPushOperand(Expression, Stack<String>)

Validates an operand and pushes it onto the stack.

Declaration
protected abstract void ValidateAndPushOperand(Expression expression, Stack<string> stack)
Parameters
Type Name Description
System.Linq.Expressions.Expression expression

the expression.

System.Collections.Generic.Stack<System.String> stack

the stack.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX