C# 클래스 Habanero.Base.CriteriaExpression

This class is a binary tree that consists of a left expression, a right expression and a join expression. The criteria Exrpession can be created by parsing a criteria string.
파일 보기 프로젝트 열기: Chillisoft/habanero 1 사용 예제들

공개 메소드들

메소드 설명
CriteriaExpression ( String expression ) : System

A constructor that takes a given expression string and parses it into a linked list of expressions

CriteriaExpression ( String expression, String operators ) : System

A constructor as before, but allows a particular set of operators to be specified, unlike the default set usually used.

IsLeaf ( ) : bool

Indicates whether this object contains the full expression

비공개 메소드들

메소드 설명
IsPosInsideBrackets ( string quote, int pos ) : bool

Checks whether the given position in a string is between opening and closing brackets

parseExpression ( Habanero.Base.HabaneroStringBuilder expression ) : void

Parses the expression into a linked list of expression objects

메소드 상세

CriteriaExpression() 공개 메소드

A constructor that takes a given expression string and parses it into a linked list of expressions
public CriteriaExpression ( String expression ) : System
expression String The expression string to parse
리턴 System

CriteriaExpression() 공개 메소드

A constructor as before, but allows a particular set of operators to be specified, unlike the default set usually used.
public CriteriaExpression ( String expression, String operators ) : System
expression String
operators String The set of operators
리턴 System

IsLeaf() 공개 메소드

Indicates whether this object contains the full expression
public IsLeaf ( ) : bool
리턴 bool