Exemple #1
0
 void OnNewVersionFound(object sender, NewVersionFoundEventArgs args)
 {
     foreach (var plugin in Application.Plugins
       .Select(p => p as IUserInterfacePlugin)
       .Where(p => p!=null)) {
     plugin.ShowNotificationMessage(
       new NewVersionNotificationMessage(args.VersionDescriptions));
       }
 }