Changeset 11233 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph/GenealogyGraphArc.cs
- Timestamp:
- 07/30/14 01:41:54 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph/GenealogyGraphArc.cs
r10903 r11233 33 33 : base(original, cloner) { } 34 34 35 protected GenealogyGraphArc() { } 36 37 public GenealogyGraphArc(IGenealogyGraphNode source, IGenealogyGraphNode target, object data = null) { 38 Source = source; 39 Target = target; 40 Data = data; 35 public GenealogyGraphArc(IGenealogyGraphNode source, IGenealogyGraphNode target) 36 : base(source, target) { 41 37 } 42 38 … … 47 43 public new IGenealogyGraphNode Source { 48 44 get { return (IGenealogyGraphNode)base.Source; } 49 set { base.Source = value; }50 45 } 51 46 52 47 public new IGenealogyGraphNode Target { 53 48 get { return (IGenealogyGraphNode)base.Target; } 54 set { base.Target = value; }55 49 } 56 50 } … … 63 57 protected GenealogyGraphArc(GenealogyGraphArc<T> original, Cloner cloner) 64 58 : base(original, cloner) { 65 Data = (T)original.Data;59 Data = original.Data; 66 60 } 67 61
Note: See TracChangeset
for help on using the changeset viewer.