Beispiel #1
0
        /// <summary>
        /// Gets files recursively.
        /// </summary>
        /// <param name="sourcePath">Source Path at which to start to get.</param>
        /// <param name="searchPattern">Only files that match this pattern are getted.</param>
        /// <param name="excludeDirs">Directories to exclude from get.</param>
        /// <returns>Returns an arraylist of filenames.</returns>
        public static ArrayList GetFilesRecursiv(string sourcePath, string searchPattern, ArrayList excludeDirs)
        {
            FileGetter fg = new FileGetter(sourcePath, searchPattern, excludeDirs);

            fg.ExecuteRecursiv(sourcePath);
            return(fg.Files);
        }
Beispiel #2
0
        /// <summary>
        /// Gets files recursively.
        /// </summary>
        /// <param name="sourcePath">Source Path at which to start to get.</param>
        /// <returns>Returns an arraylist of filenames.</returns>
        public static ArrayList GetFilesRecursiv(string sourcePath)
        {
            FileGetter fg = new FileGetter(sourcePath);

            fg.ExecuteRecursiv(sourcePath);
            return(fg.Files);
        }
 /// <summary>
 /// Gets files recursively.
 /// </summary>
 /// <param name="sourcePath">Source Path at which to start to get.</param>
 /// <param name="searchPattern">Only files that match this pattern are getted.</param>
 /// <param name="excludeDirs">Directories to exclude from get.</param>
 /// <returns>Returns an arraylist of filenames.</returns>
 public static ArrayList GetFilesRecursiv(string sourcePath, string searchPattern, ArrayList excludeDirs)
 {
     FileGetter fg = new FileGetter(sourcePath, searchPattern, excludeDirs);
     fg.ExecuteRecursiv(sourcePath);
     return fg.Files;
 }
 /// <summary>
 /// Gets files recursively.
 /// </summary>
 /// <param name="sourcePath">Source Path at which to start to get.</param>
 /// <returns>Returns an arraylist of filenames.</returns>
 public static ArrayList GetFilesRecursiv(string sourcePath)
 {
     FileGetter fg = new FileGetter(sourcePath);
     fg.ExecuteRecursiv(sourcePath);
     return fg.Files;
 }