Changeset 9019
- Timestamp:
- 12/10/12 16:57:51 (12 years ago)
- Location:
- trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/BidirectionalLookup.cs
r9009 r9019 26 26 namespace HeuristicLab.Operators.Views.GraphVisualization { 27 27 [StorableClass] 28 [Obsolete("Use BidirectionalDictionary in HeuristicLab.Collections")] 29 public class BidirectionalLookup<TFirst, TSecond> { 28 internal class BidirectionalLookup<TFirst, TSecond> { 30 29 [Storable] 31 30 private Dictionary<TFirst, TSecond> firstToSecond; -
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorGraphVisualizationInfo.cs
r9011 r9019 32 32 [StorableClass] 33 33 public sealed class OperatorGraphVisualizationInfo : GraphVisualizationInfo { 34 #pragma warning disable 61835 34 [Storable] 36 35 private BidirectionalLookup<IOperator, IOperatorShapeInfo> operatorShapeInfoMapping; 37 36 private BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>> operatorParameterCollectionMapping; 38 #pragma warning restore 61839 37 private Dictionary<IParameter, IOperator> parameterOperatorMapping; 40 38 41 39 private OperatorGraphVisualizationInfo() 42 40 : base() { 43 #pragma warning disable 61844 41 this.operatorShapeInfoMapping = new BidirectionalLookup<IOperator, IOperatorShapeInfo>(); 45 42 this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>(); 46 #pragma warning restore 61847 43 this.parameterOperatorMapping = new Dictionary<IParameter, IOperator>(); 48 44 } … … 51 47 private OperatorGraphVisualizationInfo(bool deserializing) 52 48 : base(deserializing) { 53 #pragma warning disable 61854 49 this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>(); 55 #pragma warning restore 61856 50 this.parameterOperatorMapping = new Dictionary<IParameter, IOperator>(); 57 51 } 58 52 private OperatorGraphVisualizationInfo(OperatorGraphVisualizationInfo original, Cloner cloner) 59 53 : base(original, cloner) { 60 #pragma warning disable 61861 54 operatorShapeInfoMapping = new BidirectionalLookup<IOperator, IOperatorShapeInfo>(); 62 55 operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>(); 63 #pragma warning restore 61864 56 parameterOperatorMapping = new Dictionary<IParameter, IOperator>(); 65 57
Note: See TracChangeset
for help on using the changeset viewer.