private async void MusicSelectCommandExecute(Music obj) { if (obj != null) { await _playPart.Play(obj); } }
private async void PlayAllCommandExecute() { _playPart.MusicsListCollection.Clear(); _playPart.Stop(); if (HotMusics.Count == 0) { return; } await _playPart.MusicsListCollection.AddRangeAsync(HotMusics, async range => await _playPart.Play(range.First())); }