Example #1
0
 public void CreateStation(SearchResult result)
 {
     RunTask(() =>
     {
         Station station = _pandora.CreateStationFromSearch(result.MusicToken);
         StationCreated?.Invoke(this, station);
     });
 }
Example #2
0
 public void CreateStation(SearchResult result)
 {
     RunTask(() =>
     {
         Station station = _pandora.CreateStationFromSearch(result.MusicToken);
         if (StationCreated != null)
         {
             StationCreated(this, station);
         }
     });
 }