Free cookie consent management tool by TermsFeed Policy Generator

Changeset 4529 for trunk


Ignore:
Timestamp:
09/28/10 14:25:49 (14 years ago)
Author:
gkronber
Message:

Fixed bug in plugin infrastructure when installing plugins from the update location. #1203

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Advanced/AvailablePluginsView.cs

    r4527 r4529  
    176176      var pluginsToInstall = selectedProduct.Plugins.Except(pluginsToUpdate);
    177177
    178       updateOrInstallInfo.PluginsToInstall = (IEnumerable<IPluginDescription>)pluginsToInstall.ToList();
    179       updateOrInstallInfo.PluginsToUpdate = (IEnumerable<IPluginDescription>)pluginsToUpdate.ToList();
     178      updateOrInstallInfo.PluginsToInstall =
     179        pluginsToInstall
     180        .Cast<IPluginDescription>()
     181        .ToList();
     182      updateOrInstallInfo.PluginsToUpdate =
     183        pluginsToUpdate
     184        .Cast<IPluginDescription>()
     185        .ToList();
    180186      updateOrInstallPluginsBackgroundWorker.RunWorkerAsync(updateOrInstallInfo);
    181187    }
Note: See TracChangeset for help on using the changeset viewer.