Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (6 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.Encodings.PermutationEncoding/3.3/PermutationEncoding.cs

    r16453 r16462  
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Fossil;
    3131using HeuristicLab.PluginInfrastructure;
    3232
    3333namespace HeuristicLab.Encodings.PermutationEncoding {
    3434  [Item("PermutationEncoding", "Describes a permutation encoding.")]
    35   [StorableClass]
     35  [StorableType("E30E7507-44BA-4021-8F56-C3FC5569A6FE")]
    3636  public sealed class PermutationEncoding : Encoding<IPermutationCreator> {
    3737    #region encoding parameters
     
    8080
    8181    [StorableConstructor]
    82     private PermutationEncoding(bool deserializing) : base(deserializing) { }
     82    private PermutationEncoding(StorableConstructorFlag _) : base(_) { }
    8383    [StorableHook(HookType.AfterDeserialization)]
    8484    private void AfterDeserialization() {
Note: See TracChangeset for help on using the changeset viewer.