- Timestamp:
- 08/01/14 19:39:14 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Collections/DirectedGraph/Arc.cs
r11248 r11256 57 57 58 58 [Storable] 59 protected IDeepCloneabledata;60 public IDeepCloneableData {59 protected object data; 60 public object Data { 61 61 get { return data; } 62 62 set { … … 81 81 label = original.Label; 82 82 weight = original.Weight; 83 data = cloner.Clone(data); 83 if (data is IDeepCloneable) 84 data = cloner.Clone((IDeepCloneable)data); 85 else data = original.Data; 84 86 } 85 87 public override IDeepCloneable Clone(Cloner cloner) { return new Arc(this, cloner); }
Note: See TracChangeset
for help on using the changeset viewer.