예제 #1
0
 /// <summary>
 /// Nexts this instance.
 /// </summary>
 public void Next()
 {
     using (BusyStack.GetToken())
     {
         var item = Playlist.Next();
         Player.Play(item);
     }
 }
예제 #2
0
        /// <summary>
        /// Determines whether this instance can next.
        /// </summary>
        /// <returns>
        ///   <c>true</c> if this instance can next; otherwise, <c>false</c>.
        /// </returns>
        public bool CanNext()
        {
            var item = Playlist.Next();

            return(CanPlay(item));
        }