Changeset 12673
- Timestamp:
- 07/08/15 10:50:52 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive/3.3/Util/PluginUtil.cs
r12644 r12673 63 63 alreadyUploadedPlugins.Add(p); 64 64 pluginIds.Add(p.Id); 65 } 66 catch (FaultException<PluginAlreadyExistsFault> fault) { 65 } catch (FaultException<PluginAlreadyExistsFault> fault) { 67 66 onlinePlugins.Add(service.GetPlugin(fault.Detail.Id)); 68 67 } … … 95 94 96 95 public static List<IPluginDescription> GetPluginsForTask(IEnumerable<Type> usedTypes, object task) { 97 if (usedTypes.Any(x => x.GetInterfaces().Any(y => y == typeof(IProgrammableItem)))) {96 if (usedTypes.Any(x => typeof(IProgrammableItem).IsAssignableFrom(x))) { 98 97 //when a programmable item is used all plugins that are currently loaded need to be sent to Hive 99 98 return ApplicationManager.Manager.Plugins.ToList();
Note: See TracChangeset
for help on using the changeset viewer.