Ejemplo n.º 1
0
 /* Find projects(solutions) in the specified path. */
 public void findProjects()
 {
     fileManager.addPattern("*.sln");
     fileManager.recurse = true;
     fileManager.findFiles(rootPath);
     projectFiles = fileManager.Files;
 }
        static void Main(string[] args)
        {
            Console.Write("\n Testing Filemanager");
            Console.Write("\n ================");
            string path = "../..";
            bool s = true;

            FileManager fm = new FileManager();
            fm.findFiles(path);
            List<string> files = fm.getFiles(path, fm.patterns, s);
            foreach (string file in files)
                Console.Write("\n {0}\n", file);
            Console.WriteLine();
        }
Ejemplo n.º 3
0
        static void Main(string[] args)
        {
            Console.Write("\n Testing Filemanager");
            Console.Write("\n ================");
            string path = "../..";
            bool   s    = true;

            FileManager fm = new FileManager();

            fm.findFiles(path);
            List <string> files = fm.getFiles(path, fm.patterns, s);

            foreach (string file in files)
            {
                Console.Write("\n {0}\n", file);
            }
            Console.WriteLine();
        }