Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/10/12 16:57:51 (12 years ago)
Author:
mkommend
Message:

#1991: Removed the obsolete attribute from the BidirectionalLookup in the OperatorGraphVisualization and made the class internal instead.

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  
    2626namespace HeuristicLab.Operators.Views.GraphVisualization {
    2727  [StorableClass]
    28   [Obsolete("Use BidirectionalDictionary in HeuristicLab.Collections")]
    29   public class BidirectionalLookup<TFirst, TSecond> {
     28  internal class BidirectionalLookup<TFirst, TSecond> {
    3029    [Storable]
    3130    private Dictionary<TFirst, TSecond> firstToSecond;
  • trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorGraphVisualizationInfo.cs

    r9011 r9019  
    3232  [StorableClass]
    3333  public sealed class OperatorGraphVisualizationInfo : GraphVisualizationInfo {
    34 #pragma warning disable 618
    3534    [Storable]
    3635    private BidirectionalLookup<IOperator, IOperatorShapeInfo> operatorShapeInfoMapping;
    3736    private BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>> operatorParameterCollectionMapping;
    38 #pragma warning restore 618
    3937    private Dictionary<IParameter, IOperator> parameterOperatorMapping;
    4038
    4139    private OperatorGraphVisualizationInfo()
    4240      : base() {
    43 #pragma warning disable 618
    4441      this.operatorShapeInfoMapping = new BidirectionalLookup<IOperator, IOperatorShapeInfo>();
    4542      this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>();
    46 #pragma warning restore 618
    4743      this.parameterOperatorMapping = new Dictionary<IParameter, IOperator>();
    4844    }
     
    5147    private OperatorGraphVisualizationInfo(bool deserializing)
    5248      : base(deserializing) {
    53 #pragma warning disable 618
    5449      this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>();
    55 #pragma warning restore 618
    5650      this.parameterOperatorMapping = new Dictionary<IParameter, IOperator>();
    5751    }
    5852    private OperatorGraphVisualizationInfo(OperatorGraphVisualizationInfo original, Cloner cloner)
    5953      : base(original, cloner) {
    60 #pragma warning disable 618
    6154      operatorShapeInfoMapping = new BidirectionalLookup<IOperator, IOperatorShapeInfo>();
    6255      operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>();
    63 #pragma warning restore 618
    6456      parameterOperatorMapping = new Dictionary<IParameter, IOperator>();
    6557
Note: See TracChangeset for help on using the changeset viewer.