public ITreeWalker WalkTree( DelegateWalker.VisitDelegate visitor, TreeWalkerMode mode ) { DelegateWalker walker = new DelegateWalker( visitor ); walker.WalkTree( this, mode ); return walker; }
public ITreeWalker WalkTree( DelegateWalker.VisitDelegate visitor, bool visitBranches ) { DelegateWalker walker = new DelegateWalker( visitor, visitBranches ); walker.WalkTree( this ); return walker; }
public ITreeWalker WalkTree( DelegateWalker.VisitDelegate visitor, int stopAtLevel ) { DelegateWalker walker = new DelegateWalker( visitor ); walker.StopAtLevel = stopAtLevel; walker.WalkTree( this ); return walker; }