Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/06/12 16:22:21 (11 years ago)
Author:
mkommend
Message:

#1991: Adapted OperatorGraphVisualization to ignore warnings regarding the obsolete attribute and adapted to the new BidirectionalDictionary if possible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorGraphVisualizationInfo.cs

    r7259 r9011  
    3232  [StorableClass]
    3333  public sealed class OperatorGraphVisualizationInfo : GraphVisualizationInfo {
     34#pragma warning disable 618
    3435    [Storable]
    3536    private BidirectionalLookup<IOperator, IOperatorShapeInfo> operatorShapeInfoMapping;
    3637    private BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>> operatorParameterCollectionMapping;
     38#pragma warning restore 618
    3739    private Dictionary<IParameter, IOperator> parameterOperatorMapping;
    3840
    3941    private OperatorGraphVisualizationInfo()
    4042      : base() {
     43#pragma warning disable 618
    4144      this.operatorShapeInfoMapping = new BidirectionalLookup<IOperator, IOperatorShapeInfo>();
    4245      this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>();
     46#pragma warning restore 618
    4347      this.parameterOperatorMapping = new Dictionary<IParameter, IOperator>();
    4448    }
     
    4751    private OperatorGraphVisualizationInfo(bool deserializing)
    4852      : base(deserializing) {
     53#pragma warning disable 618
    4954      this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>();
     55#pragma warning restore 618
    5056      this.parameterOperatorMapping = new Dictionary<IParameter, IOperator>();
    5157    }
    5258    private OperatorGraphVisualizationInfo(OperatorGraphVisualizationInfo original, Cloner cloner)
    5359      : base(original, cloner) {
     60#pragma warning disable 618
    5461      operatorShapeInfoMapping = new BidirectionalLookup<IOperator, IOperatorShapeInfo>();
    5562      operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>();
     63#pragma warning restore 618
    5664      parameterOperatorMapping = new Dictionary<IParameter, IOperator>();
    5765
Note: See TracChangeset for help on using the changeset viewer.