Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (5 years ago)
Author:
jkarder
Message:

#2520: worked on reintegration of new persistence

  • added nuget references to HEAL.Fossil
  • added StorableType attributes to many classes
  • changed signature of StorableConstructors
  • removed some classes in old persistence
  • removed some unnecessary usings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Collections/3.3/BidirectionalDictionary.cs

    r16453 r16462  
    2121
    2222using System;
    23 using System.Linq;
    2423using System.Collections;
    2524using System.Collections.Generic;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2726
    2827namespace HeuristicLab.Collections {
    29   [StorableClass]
     28  [StorableType("6D8354FC-521A-4D6B-A544-2C9892D0A36C")]
    3029  [Serializable]
    3130  public class BidirectionalDictionary<TFirst, TSecond> : IEnumerable<KeyValuePair<TFirst, TSecond>> {
     
    3635
    3736    [StorableConstructor]
    38     protected BidirectionalDictionary(bool deserializing) : base() { }
     37    protected BidirectionalDictionary(StorableConstructorFlag _) : base() { }
    3938    public BidirectionalDictionary() {
    4039      firstToSecond = new Dictionary<TFirst, TSecond>();
Note: See TracChangeset for help on using the changeset viewer.