Changeset 13459 for branches/OptimizationNetworks/HeuristicLab.Networks
- Timestamp:
- 12/14/15 18:06:01 (8 years ago)
- Location:
- branches/OptimizationNetworks/HeuristicLab.Networks/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/AlgorithmNode.cs
r11713 r13459 20 20 #endregion 21 21 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Threading; 22 26 using HeuristicLab.Common; 23 27 using HeuristicLab.Core; … … 26 30 using HeuristicLab.Optimization; 27 31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using System;29 using System.Collections.Generic;30 using System.Linq;31 using System.Threading;32 32 33 33 namespace HeuristicLab.Networks { … … 35 35 [StorableClass] 36 36 public class AlgorithmNode : Node, IAlgorithmNode { 37 pr ivateobject locker = new object();37 protected object locker = new object(); 38 38 39 39 new public PortCollection Ports { -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/Core/Network.cs
r11577 r13459 20 20 #endregion 21 21 22 using HeuristicLab.Common;23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;24 22 using System.Collections.Generic; 25 23 using System.Drawing; 26 24 using System.Linq; 25 using HeuristicLab.Common; 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 27 28 28 namespace HeuristicLab.Core.Networks { … … 84 84 [StorableHook(HookType.AfterDeserialization)] 85 85 private void AfterDeserialization() { 86 foreach (var n in Nodes )86 foreach (var n in Nodes.ToList()) 87 87 n.Parent = this; 88 88 RegisterNodesEvents();
Note: See TracChangeset
for help on using the changeset viewer.