コード例 #1
0
 public virtual Expression VisitConstructDelegate(ConstructDelegate consDelegate)
 {
     if (consDelegate == null) return null;
     consDelegate.DelegateType = this.VisitTypeReference(consDelegate.DelegateType);
     consDelegate.TargetObject = this.VisitExpression(consDelegate.TargetObject);
     return consDelegate;
 }
コード例 #2
0
ファイル: Decompiler.cs プロジェクト: ZingModelChecker/Zing
 public override Expression VisitConstructDelegate(ConstructDelegate consDelegate)
 {
     throw new NotImplementedException("Node type not yet supported");
 }
コード例 #3
0
ファイル: Duplicator.cs プロジェクト: modulexcite/SHFB-1
 public override Expression VisitConstructDelegate(ConstructDelegate consDelegate)
 {
     if (consDelegate == null) return null;
     return base.VisitConstructDelegate((ConstructDelegate)consDelegate.Clone());
 }
コード例 #4
0
 public EventingVisitor(Action<ConstructDelegate> visitConstructDelegate) { VisitedConstructDelegate += visitConstructDelegate; } public event Action<ConstructDelegate> VisitedConstructDelegate; public override Expression VisitConstructDelegate(ConstructDelegate consDelegate) { if (VisitedConstructDelegate != null) VisitedConstructDelegate(consDelegate); return base.VisitConstructDelegate(consDelegate); }