Exemplo n.º 1
0
 public override Expression VisitCurrentClosure(CurrentClosure currentClosure)
 {
     if (currentClosure == null) return null;
     return base.VisitCurrentClosure((CurrentClosure)currentClosure.Clone());
 }
Exemplo n.º 2
0
 public virtual Expression VisitCurrentClosure(CurrentClosure currentClosure)
 {
     return currentClosure;
 }
Exemplo n.º 3
0
 public EventingVisitor(Action<CurrentClosure> visitCurrentClosure) { VisitedCurrentClosure += visitCurrentClosure; } public event Action<CurrentClosure> VisitedCurrentClosure; public override Expression VisitCurrentClosure(CurrentClosure currentClosure) { if (VisitedCurrentClosure != null) VisitedCurrentClosure(currentClosure); return base.VisitCurrentClosure(currentClosure); }