Exemplo n.º 1
0
        public void OrderYoutubeSongsByDuration()
        {
            this.youtubeSongOrderFunc = SortHelpers.GetOrderByDuration <YoutubeSong>(this.currentYoutubeSongDurationOrder);
            SortHelpers.InverseOrder(ref this.currentYoutubeSongDurationOrder);

            this.OnPropertyChanged(vm => vm.SelectableYoutubeSongs);
        }
Exemplo n.º 2
0
        public void OrderLocalSongsByDuration()
        {
            this.localSongOrderFunc = SortHelpers.GetOrderByDuration <Song>(this.currentLocalSongDurationOrder);
            SortHelpers.InverseOrder(ref this.currentLocalSongDurationOrder);

            this.OnPropertyChanged(vm => vm.SelectableLocalSongs);
        }