Esempio n. 1
0
 public void VisitMusicByTags(IMusicByTags musicByTags)
 {
     foreach (String file in musicByTags.GetAllMatchingFiles())
     {
         IFileElement element = Ares.Data.DataModule.ElementFactory.CreateFileElement(file, SoundFileType.Music);
         element.Visit(this);
     }
 }
Esempio n. 2
0
 public void VisitMusicByTags(IMusicByTags musicByTags)
 {
     if (m_CurrentModeElement != null)
     {
         foreach (String file in musicByTags.GetAllMatchingFiles())
         {
             if (GetAbsolutePath(file, SoundFileType.Music).Equals(m_SearchedPath, StringComparison.InvariantCultureIgnoreCase))
             {
                 m_CurrentList.Add(m_CurrentModeElement);
                 break;
             }
         }
     }
 }