Example #1
0
 public void Open(SearchMessage msg)
 {
     if (msg != null)
     {
         this.Artist = msg.Artist;
         this.Title = msg.Title;
     }
     this.IsOpen = true;
 }
Example #2
0
 public void Go()
 {
     IsOpen = false;
     var msg = new SearchMessage() { Artist = this.Artist, Title = this.Title };
     MessengerInstance.Send(msg, 1);
 }
Example #3
0
 public void OnSearch(SearchMessage message)
 {
     if (message != null)
     { 
         var playlistData = SearchYouTube(message.Artist, message.Title);
         this.UpdatePlaylist(_service, playlistData, 0);
     }
 }