示例#1
0
        public void OrderYoutubeSongsByDuration()
        {
            this.youtubeSongOrderFunc = SortHelpers.GetOrderByDuration <YoutubeSong>(this.currentYoutubeSongDurationOrder);
            SortHelpers.InverseOrder(ref this.currentYoutubeSongDurationOrder);

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

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