Table of Contents

Class RuleElementVisitor<TContext>

Namespace
NRules.RuleModel
Assembly
NRules.RuleModel.dll

Visitor to traverse rule definition (or its part).

public class RuleElementVisitor<TContext>

Type Parameters

TContext

Traversal context.

Inheritance
RuleElementVisitor<TContext>
Derived
Inherited Members

Methods

Visit(TContext, RuleElement)

public void Visit(TContext context, RuleElement element)

Parameters

context TContext
element RuleElement

VisitAction(TContext, ActionElement)

protected virtual void VisitAction(TContext context, ActionElement element)

Parameters

context TContext
element ActionElement

VisitActionGroup(TContext, ActionGroupElement)

protected virtual void VisitActionGroup(TContext context, ActionGroupElement element)

Parameters

context TContext
element ActionGroupElement

VisitAggregate(TContext, AggregateElement)

protected virtual void VisitAggregate(TContext context, AggregateElement element)

Parameters

context TContext
element AggregateElement

VisitAnd(TContext, AndElement)

protected virtual void VisitAnd(TContext context, AndElement element)

Parameters

context TContext
element AndElement

VisitBinding(TContext, BindingElement)

protected virtual void VisitBinding(TContext context, BindingElement element)

Parameters

context TContext
element BindingElement

VisitDependency(TContext, DependencyElement)

protected virtual void VisitDependency(TContext context, DependencyElement element)

Parameters

context TContext
element DependencyElement

VisitDependencyGroup(TContext, DependencyGroupElement)

protected virtual void VisitDependencyGroup(TContext context, DependencyGroupElement element)

Parameters

context TContext
element DependencyGroupElement

VisitExists(TContext, ExistsElement)

protected virtual void VisitExists(TContext context, ExistsElement element)

Parameters

context TContext
element ExistsElement

VisitFilter(TContext, FilterElement)

protected virtual void VisitFilter(TContext context, FilterElement element)

Parameters

context TContext
element FilterElement

VisitFilterGroup(TContext, FilterGroupElement)

protected virtual void VisitFilterGroup(TContext context, FilterGroupElement element)

Parameters

context TContext
element FilterGroupElement

VisitForAll(TContext, ForAllElement)

protected virtual void VisitForAll(TContext context, ForAllElement element)

Parameters

context TContext
element ForAllElement

VisitNamedExpression(TContext, NamedExpressionElement)

protected virtual void VisitNamedExpression(TContext context, NamedExpressionElement element)

Parameters

context TContext
element NamedExpressionElement

VisitNot(TContext, NotElement)

protected virtual void VisitNot(TContext context, NotElement element)

Parameters

context TContext
element NotElement

VisitOr(TContext, OrElement)

protected virtual void VisitOr(TContext context, OrElement element)

Parameters

context TContext
element OrElement

VisitPattern(TContext, PatternElement)

protected virtual void VisitPattern(TContext context, PatternElement element)

Parameters

context TContext
element PatternElement