コード例 #1
0
ファイル: PendingProgress.cs プロジェクト: x1m0/PowerShell
        CountNodes()
        {
            CountingNodeVisitor cnv = new CountingNodeVisitor();

            NodeVisitor.VisitNodes(_topLevelNodes, cnv);
            return(cnv.Count);
        }
コード例 #2
0
ファイル: PendingProgress.cs プロジェクト: 40a/PowerShell
 CountNodes()
 {
     CountingNodeVisitor cnv = new CountingNodeVisitor();
     NodeVisitor.VisitNodes(_topLevelNodes, cnv);
     return cnv.Count;
 }