Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/28/19 13:41:42 (5 years ago)
Author:
gkronber
Message:

#2520: merged changes from PersistenceOverhaul branch (r16451:16564) into trunk

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/HeuristicLab.Collections/3.3/BidirectionalLookup.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2323using System.Collections.Generic;
    2424using System.Linq;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Attic;
    2626
    2727namespace HeuristicLab.Collections {
    28   [StorableClass]
     28  [StorableType("30981E2A-09AD-49F4-964B-4C20B210116C")]
    2929  [Serializable]
    3030  public class BidirectionalLookup<TFirst, TSecond> {
     
    3535
    3636    [StorableConstructor]
    37     protected BidirectionalLookup(bool deserializing) : base() { }
     37    protected BidirectionalLookup(StorableConstructorFlag _) : base() { }
    3838    public BidirectionalLookup() {
    3939      firstToSecond = new Dictionary<TFirst, HashSet<TSecond>>();
     
    189189    #endregion
    190190
    191     [StorableClass]
     191    [StorableType("AF0C6143-9031-43CF-8952-49FE8089ACD2")]
    192192    private class StorableGrouping<TKey, TValue> : IGrouping<TKey, TValue> {
    193193
     
    197197      private readonly HashSet<TValue> values;
    198198
     199      [StorableConstructor]
     200      protected StorableGrouping(StorableConstructorFlag _) : base() { }
     201
    199202      public StorableGrouping(TKey key, IEnumerable<TValue> values, IEqualityComparer<TValue> comparer) {
    200203        this.key = key;
Note: See TracChangeset for help on using the changeset viewer.