Exemplo n.º 1
0
        public void Traverse(IEnumerable <Signal> rootSignals, IScanVisitor visitor, bool ignoreHold)
        {
            //lock(??) {
            ScanStrategy strat = ProvideExecutableInstance();

            strat._activeScans++; //}
            try { strat.DoTraverse(rootSignals, visitor, ignoreHold); }
            finally { strat._activeScans--; }
        }
Exemplo n.º 2
0
 public static void Traverse(IEnumerable<Signal> rootSignals, ScanStrategy strategy, IScanVisitor visitor, bool ignoreHold)
 {
     if(strategy == null) throw new ArgumentNullException("strategy");
     strategy.Traverse(rootSignals, visitor, ignoreHold);
 }
Exemplo n.º 3
0
 public static void Traverse(Port rootPort, ScanStrategy strategy, IScanVisitor visitor, bool ignoreHold)
 {
     if(strategy == null) throw new ArgumentNullException("strategy");
     strategy.Traverse(rootPort, visitor, ignoreHold);
 }