Exemple #1
0
 /// <summary>
 /// Enqueues a UnBan request but does not send it. Call <see cref="Process"/> to send
 /// </summary>
 /// <param name="track">The <see cref="Track"/> that has played</param>
 /// <remarks>This method is thread-safe. Will not check for invalid tracks until Processed.</remarks>
 public void UnBan(Track track)
 {
     RatingQueue.Enqueue(new RatingObject()
     {
         Track = track, RatingType = Rating.unban
     });
 }
Exemple #2
0
 /// <summary>
 /// Enqueues a UnLove request but does not send it. Call <see cref="Process"/> to send
 /// </summary>
 /// <param name="track">The <see cref="Track"/> that has played</param>
 /// <remarks>This method is thread-safe. Will not check for invalid tracks until Processed.</remarks>
 public void UnLove(Track track)
 {
     RatingQueue.Enqueue(new RatingObject()
     {
         Track = track, RatingType = Rating.unlove
     });
 }