Exemple #1
0
 public void OnCurrentSongChanged(object sender, CurrentSongEventArgs args)
 {
     foreach (var plugin in plugins)
     {
         Task.Run(() => plugin.OnCurrentSongChanged(sender, args));
     }
 }
Exemple #2
0
 public void OnCurrentSongChanged(object sender, CurrentSongEventArgs args)
 {
     foreach (var plugin in plugins)
         Task.Factory.StartNew(()=>plugin.OnCurrentSongChanged(sender, args));
 }
 void IPlugin.OnCurrentSongChanged(object sender, CurrentSongEventArgs args)
 {
     throw new NotImplementedException();
 }
 void IPlugin.OnCurrentSongChanged(object sender, CurrentSongEventArgs args)
 {
     SetSong(args.NewSong.Title, args.NewSong.Artist);
 }
Exemple #5
0
 public void OnCurrentSongChanged(object sender, CurrentSongEventArgs args)
 {
 }
 void IPlugin.OnCurrentSongChanged(object sender, CurrentSongEventArgs args)
 {
 }