Changeset 6298 for trunk/sources/HeuristicLab.PluginInfrastructure
- Timestamp:
- 05/26/11 14:49:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Manager/PluginValidator.cs
r6021 r6298 406 406 // and sets the dependencies in the plugin descriptions 407 407 private void BuildDependencyTree(IEnumerable<PluginDescription> pluginDescriptions) { 408 foreach (var desc in pluginDescriptions ) {408 foreach (var desc in pluginDescriptions.Where(x => x.PluginState != PluginState.Disabled)) { 409 409 var missingDependencies = new List<PluginDependency>(); 410 410 foreach (var dependency in pluginDependencies[desc]) { 411 411 var matchingDescriptions = from availablePlugin in pluginDescriptions 412 where availablePlugin.PluginState != PluginState.Disabled 412 413 where availablePlugin.Name == dependency.Name 413 414 where IsCompatiblePluginVersion(availablePlugin.Version, dependency.Version)
Note: See TracChangeset
for help on using the changeset viewer.