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.Clients.OKB/3.3/RunCreation/OKBAlgorithm.cs

    r16453 r16462  
    2727using HeuristicLab.Core;
    2828using HeuristicLab.Optimization;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Fossil;
    3030using HeuristicLab.Persistence.Default.Xml;
    3131using System;
     
    3838  [Item("OKB Algorithm", "An algorithm which is stored in the OKB.")]
    3939  [Creatable(CreatableAttribute.Categories.TestingAndAnalysisOKB, Priority = 100)]
    40   [StorableClass]
     40  [StorableType("159620CA-BC90-48D9-8868-5D8940016BA0")]
    4141  public sealed class OKBAlgorithm : Item, IAlgorithm, IStorableContent {
    4242    public string Filename { get; set; }
     
    183183
    184184    [StorableConstructor]
    185     private OKBAlgorithm(bool deserializing) : base(deserializing) { }
     185    private OKBAlgorithm(StorableConstructorFlag _) : base(_) { }
    186186    private OKBAlgorithm(OKBAlgorithm original, Cloner cloner)
    187187      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.