Changeset 11459 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph/GenealogyGraphNode.cs
- Timestamp:
- 10/13/14 13:14:25 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph/GenealogyGraphNode.cs
r11262 r11459 52 52 53 53 public new IEnumerable<IGenealogyGraphArc> InArcs { 54 get { return base.InArcs. Cast<IGenealogyGraphArc>(); }54 get { return base.InArcs.Select(x => (IGenealogyGraphArc)x); } 55 55 } 56 56 57 57 public new IEnumerable<IGenealogyGraphArc> OutArcs { 58 get { return base.OutArcs. Cast<IGenealogyGraphArc>(); }58 get { return base.OutArcs.Select(x => (IGenealogyGraphArc)x); } 59 59 } 60 60 … … 148 148 } 149 149 public new IEnumerable<IGenealogyGraphNode<T>> Parents { 150 get { return base.Parents. Cast<IGenealogyGraphNode<T>>(); }150 get { return base.Parents.Select(x => (IGenealogyGraphNode<T>)x); } 151 151 } 152 152 public new IEnumerable<IGenealogyGraphNode<T>> Children { 153 get { return base.Children. Cast<IGenealogyGraphNode<T>>(); }153 get { return base.Children.Select(x => (IGenealogyGraphNode<T>)x); } 154 154 } 155 155 public new IEnumerable<IGenealogyGraphNode<T>> Ancestors { 156 get { return base.Ancestors. Cast<IGenealogyGraphNode<T>>(); }156 get { return base.Ancestors.Select(x => (IGenealogyGraphNode<T>)x); } 157 157 } 158 158 public new IEnumerable<IGenealogyGraphNode<T>> Descendants { 159 get { return base.Descendants. Cast<IGenealogyGraphNode<T>>(); }159 get { return base.Descendants.Select(x => (IGenealogyGraphNode<T>)x); } 160 160 } 161 161 }
Note: See TracChangeset
for help on using the changeset viewer.