Пример #1
0
        public void LoadSongsSync(SongLoader loader)
        {
            NewLoad?.Invoke(this, EventArgs.Empty);
            var songs = loader.LoadSongs();

            LoadInitiated?.Invoke(this, songs.Count);
            UpdateLibrary(songs, false);
            library.InitialiseParts();
            LoadCompleted?.Invoke(this, EventArgs.Empty);
        }
Пример #2
0
 public void LoadSongs(SongLoader loader)
 {
     UpdateLibrary(loader.LoadSongs(), false);
 }