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/2D/PackingShape.cs

    r15583 r16462  
    2323using System;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626using HeuristicLab.Common;
    2727using HeuristicLab.Data;
     
    3131namespace HeuristicLab.Problems.BinPacking2D {
    3232  [Item("PackingShape (2d)", "Represents the rectangular measures (width, height) of a two-dimensional bin-packing object.")]
    33   [StorableClass]
     33  [StorableType("11EF7917-826C-4154-A7E6-0869C1188B95")]
    3434  public class PackingShape : PackingShape<PackingPosition>, IComparable<PackingShape> {
    3535    public int Height {
     
    4444
    4545    [StorableConstructor]
    46     protected PackingShape(bool deserializing) : base(deserializing) { }
     46    protected PackingShape(StorableConstructorFlag _) : base(_) { }
    4747    protected PackingShape(PackingShape original, Cloner cloner)
    4848      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.