Changeset 3303 for trunk/sources/HeuristicLab.Operators.Programmable
- Timestamp:
- 04/12/10 01:29:35 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperator.cs
r3234 r3303 198 198 var locationTable = assemblies.ToDictionary(a => a.Location, a => a); 199 199 200 if (ApplicationManager.Manager != null) { 201 foreach (var plugin in ApplicationManager.Manager.Plugins) { 202 var aList = new List<Assembly>(); 203 foreach (var aName in from file in plugin.Files 204 where file.Type == PluginFileType.Assembly 205 select file.Name) { 206 Assembly a; 207 locationTable.TryGetValue(aName, out a); 208 if (a != null) { 209 aList.Add(a); 210 locationTable.Remove(aName); 211 } 200 foreach (var plugin in ApplicationManager.Manager.Plugins) { 201 var aList = new List<Assembly>(); 202 foreach (var aName in from file in plugin.Files 203 where file.Type == PluginFileType.Assembly 204 select file.Name) { 205 Assembly a; 206 locationTable.TryGetValue(aName, out a); 207 if (a != null) { 208 aList.Add(a); 209 locationTable.Remove(aName); 212 210 } 213 plugins[plugin.Name] = aList;214 }211 } 212 plugins[plugin.Name] = aList; 215 213 } 216 214
Note: See TracChangeset
for help on using the changeset viewer.