Ejemplo n.º 1
0
        public void AddPath(StorageFolder folder)
        {
            DirectoryLoader directoryLoader = new DirectoryLoader(folder);

            directoryLoader.ProgressUpdated += ProgressUpdated;
            this.musicDirectories.Add(directoryLoader);
        }
Ejemplo n.º 2
0
 public void AddPaths(IEnumerable <StorageFolder> folders)
 {
     this.musicDirectories.AddRange(folders.Select(stringPath =>
     {
         DirectoryLoader directoryLoader  = new DirectoryLoader(stringPath);
         directoryLoader.ProgressUpdated += ProgressUpdated;
         return(directoryLoader);
     }));
 }