CsNavigator code
CsNavigator Repository
Classes that walk directory tree performing operations on files and directories
Quick Status
Code functions correctly
no known defects
Demonstration code
yes
Documentation
yes - needs more
Test cases
no
Static library
no, but planned
Build requires
C# 7.0
Planned design changes
None
1.0 Contents
This repository provides two projects:
-
Navigate
-
NavigateWithDelegates
Both perform recursive (DFS) walks on a specified directory tree. Navigate "bakes in"
operations to be applied to each file and each directory path encountered during a walk.
So Navigate is not reusable.
NavigateWithDelegates defines delegate properties that allow an application to register methods
to be invoked whenever a new file
or directory are encountered. Thus this package is reusable. Nothing needs to be changed for it to
handle application specific processing.
I used this code in my CSE681 - Software Modeling and Analysis class at Syracuse University
to motivate the use of delegates.
2.0 Build
All code was built with Visual Studio, Community Edition - 2019, and tested on Windows 10.