示例#1
0
        public async void Handle(PlaylistMessage message)
        {
            if (message.ClearCurrent)
            {
                EventAggregator.Publish(new StopPlaybackMessage());
                _playlistManagementService.Clear();
                _playNextItem = true;
            }

            foreach (var item in message.Queue)
            {
                await AddItemToPlaylist(item);
            }
        }
 public void Handle(PlaylistMessage message)
 {
     throw new NotImplementedException();
 }