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