Class ContextClientCriteriaVisitorBase<T>
- Namespace
- DevExpress.Xpo.Helpers
- Assembly
- DevExpress.Xpo.v24.1.dll
public abstract class ContextClientCriteriaVisitorBase<T> : IClientCriteriaVisitor<T>, ICriteriaVisitor<T>
Type Parameters
T
- Inheritance
-
ContextClientCriteriaVisitorBase<T>
- Implements
-
IClientCriteriaVisitor<T>
ICriteriaVisitor<T>
- Derived
-
- Inherited Members
-
Constructors
ContextClientCriteriaVisitorBase(XPClassInfo)
public ContextClientCriteriaVisitorBase(XPClassInfo currentClassInfo)
Parameters
currentClassInfo
XPClassInfo
ContextClientCriteriaVisitorBase(XPClassInfo[])
public ContextClientCriteriaVisitorBase(XPClassInfo[] upLevelsClassInfo)
Parameters
upLevelsClassInfo
XPClassInfo[]
Properties
CurrentClassInfo
protected XPClassInfo CurrentClassInfo { get; }
Property Value
- XPClassInfo
HasJoinOperand
public bool HasJoinOperand { get; }
Property Value
- bool
HasJoinOperandOnStack
protected bool HasJoinOperandOnStack { get; }
Property Value
- bool
InAtomOperation
protected int InAtomOperation { get; }
Property Value
- int
IsInJoinOperand
protected bool IsInJoinOperand { get; }
Property Value
- bool
Methods
Process(CriteriaOperator)
public abstract T Process(CriteriaOperator criteria)
Parameters
criteria
CriteriaOperator
Returns
- T
ProcessCollection(CriteriaOperatorCollection)
public List<T> ProcessCollection(CriteriaOperatorCollection operands)
Parameters
operands
CriteriaOperatorCollection
Returns
- List<T>
Visit(AggregateOperand)
public T Visit(AggregateOperand theOperand)
Parameters
theOperand
AggregateOperand
Returns
- T
Visit(BetweenOperator)
public T Visit(BetweenOperator theOperator)
Parameters
theOperator
BetweenOperator
Returns
- T
Visit(BinaryOperator)
public T Visit(BinaryOperator theOperator)
Parameters
theOperator
BinaryOperator
Returns
- T
Visit(FunctionOperator)
public T Visit(FunctionOperator theOperator)
Parameters
theOperator
FunctionOperator
Returns
- T
Visit(GroupOperator)
public T Visit(GroupOperator theOperator)
Parameters
theOperator
GroupOperator
Returns
- T
Visit(InOperator)
public T Visit(InOperator theOperator)
Parameters
theOperator
InOperator
Returns
- T
Visit(JoinOperand)
public T Visit(JoinOperand theOperand)
Parameters
theOperand
JoinOperand
Returns
- T
Visit(OperandProperty)
public T Visit(OperandProperty theOperand)
Parameters
theOperand
OperandProperty
Returns
- T
Visit(OperandValue)
public T Visit(OperandValue theOperand)
Parameters
theOperand
OperandValue
Returns
- T
Visit(UnaryOperator)
public T Visit(UnaryOperator theOperator)
Parameters
theOperator
UnaryOperator
Returns
- T
VisitInternalAggregate(T, IEnumerable<T>, string, T)
public virtual T VisitInternalAggregate(T collectionPropertyResult, IEnumerable<T> aggregateResult, string customAggregateName, T conditionResult)
Parameters
collectionPropertyResult
T
aggregateResult
IEnumerable<T>
customAggregateName
string
conditionResult
T
Returns
- T
VisitInternalAggregate(T, T, Aggregate, T)
public abstract T VisitInternalAggregate(T collectionPropertyResult, T aggregateResult, Aggregate aggregateType, T conditionResult)
Parameters
collectionPropertyResult
T
aggregateResult
T
aggregateType
Aggregate
conditionResult
T
Returns
- T
VisitInternalBetween(BetweenOperator)
public abstract T VisitInternalBetween(BetweenOperator theOperator)
Parameters
theOperator
BetweenOperator
Returns
- T
VisitInternalBinary(T, T, BinaryOperatorType)
public abstract T VisitInternalBinary(T left, T right, BinaryOperatorType operatorType)
Parameters
left
T
right
T
operatorType
BinaryOperatorType
Returns
- T
VisitInternalFunction(FunctionOperator)
public abstract T VisitInternalFunction(FunctionOperator theOperator)
Parameters
theOperator
FunctionOperator
Returns
- T
VisitInternalGroup(GroupOperatorType, List<T>)
public abstract T VisitInternalGroup(GroupOperatorType operatorType, List<T> results)
Parameters
operatorType
GroupOperatorType
results
List<T>
Returns
- T
VisitInternalInOperator(InOperator)
public abstract T VisitInternalInOperator(InOperator theOperator)
Parameters
theOperator
InOperator
Returns
- T
VisitInternalJoinOperand(T, IEnumerable<T>, string)
public virtual T VisitInternalJoinOperand(T conditionResult, IEnumerable<T> agregatedResult, string customAggregateName)
Parameters
conditionResult
T
agregatedResult
IEnumerable<T>
customAggregateName
string
Returns
- T
VisitInternalJoinOperand(T, T, Aggregate)
public abstract T VisitInternalJoinOperand(T conditionResult, T agregatedResult, Aggregate aggregateType)
Parameters
conditionResult
T
agregatedResult
T
aggregateType
Aggregate
Returns
- T
VisitInternalOperand(object)
public abstract T VisitInternalOperand(object value)
Parameters
value
object
Returns
- T
VisitInternalProperty(string)
public abstract T VisitInternalProperty(string propertyName)
Parameters
propertyName
string
Returns
- T
VisitInternalUnary(UnaryOperator)
public abstract T VisitInternalUnary(UnaryOperator theOperator)
Parameters
theOperator
UnaryOperator
Returns
- T