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.Problems.BinPacking/3.3/PackingPosition.cs

    r15583 r16462  
    2020#endregion
    2121
    22 using System;
    23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     22using HEAL.Fossil;
    2423using HeuristicLab.Core;
    2524using HeuristicLab.Common;
    2625
    2726namespace HeuristicLab.Problems.BinPacking {
    28   [StorableClass]
     27  [StorableType("8ED65A4B-6F85-47EA-90C6-A4B47533E429")]
    2928  // PackingPosition is immutable (and handled as value types concerning Equals and GetHashCode)
    3029  public abstract class PackingPosition : Item, IPackingPosition {
     
    4847
    4948    [StorableConstructor]
    50     protected PackingPosition(bool deserializing) : base(deserializing) { }
     49    protected PackingPosition(StorableConstructorFlag _) : base(_) { }
    5150    protected PackingPosition(PackingPosition original, Cloner cloner)
    5251      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.