Esempio n. 1
0
        private static IEnumerable <Folder> GetSubfolders(Folder root, string folder, Folder parent)
        {
            var directories = Directory.GetDirectories(folder);

            foreach (var directory in directories)
            {
                yield return(Folder.CreateFolder(root, directory, parent));
            }
        }
Esempio n. 2
0
 public FileEventArgs(File file, Folder folder)
 {
     File   = file;
     Folder = folder;
 }