Beispiel #1
0
 public override Expression VisitApplyToAll(ApplyToAll applyToAll)
 {
     if (applyToAll == null) return null;
     return base.VisitApplyToAll((ApplyToAll)applyToAll.Clone());
 }
 public virtual Expression VisitApplyToAll(ApplyToAll applyToAll)
 {
     if (applyToAll == null) return null;
     applyToAll.Operand1 = this.VisitExpression(applyToAll.Operand1);
     applyToAll.Operand2 = this.VisitExpression(applyToAll.Operand2);
     return applyToAll;
 }
 public EventingVisitor(Action<ApplyToAll> visitApplyToAll) { VisitedApplyToAll += visitApplyToAll; } public event Action<ApplyToAll> VisitedApplyToAll; public override Expression VisitApplyToAll(ApplyToAll applyToAll) { if (VisitedApplyToAll != null) VisitedApplyToAll(applyToAll); return base.VisitApplyToAll(applyToAll); }