Exemple #1
0
 void SelectedMediaItems_MediaItemAdded(object sender, MediaItemEventArgs e)
 {
     if (!MediaQueue.Contains(e.Item))
     {
         throw new InvalidOperationException("Selected Item doesn't belong to MediaQueue");
     }
 }