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

    r15583 r16462  
    2525using System.Linq;
    2626using HeuristicLab.Core;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828using HeuristicLab.Common;
    2929
    3030namespace HeuristicLab.Problems.BinPacking {
    31   [StorableClass]
     31  [StorableType("FA24378B-4353-4CC9-AEFD-4B002EF5B139")]
    3232  public abstract class PackingShape<T> : Item, IPackingShape, IParameterizedItem
    3333    where T : class, IPackingPosition {
     
    4848
    4949    [StorableConstructor]
    50     protected PackingShape(bool deserializing) { }
     50    protected PackingShape(StorableConstructorFlag _) : base(_) { }
    5151    protected PackingShape(PackingShape<T> original, Cloner cloner) {
    5252      this.Parameters = new ParameterCollection(original.Parameters.Select(p => cloner.Clone(p)));
Note: See TracChangeset for help on using the changeset viewer.