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.Clients.Hive/3.3/HiveTasks/HiveTask.cs

    r16453 r16462  
    2929using HeuristicLab.Common;
    3030using HeuristicLab.Core;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Fossil;
    3232using HeuristicLab.PluginInfrastructure;
    3333
     
    3535
    3636  [Item("Hive Task", "Represents a hive task.")]
    37   [StorableClass]
     37  [StorableType("AB546F71-AB78-44AF-9954-1A269D278C56")]
    3838  public class HiveTask : NamedItem, IItemTree<HiveTask>, IDisposable {
    3939    protected static object locker = new object();
     
    170170    #region Constructors and Cloning
    171171    [StorableConstructor]
    172     protected HiveTask(bool deserializing) { }
     172    protected HiveTask(StorableConstructorFlag _) : base(_) { }
    173173
    174174    public HiveTask()
     
    541541
    542542  [Item("Hive Task", "Represents a hive task.")]
    543   [StorableClass]
     543  [StorableType("F185C6FD-7282-4EE1-9F76-C4DD32C69207")]
    544544  public class HiveTask<T> : HiveTask where T : ItemTask {
    545545
     
    552552    public HiveTask() : base() { }
    553553    [StorableConstructor]
    554     protected HiveTask(bool deserializing) { }
     554    protected HiveTask(StorableConstructorFlag _) : base(_) { }
    555555    public HiveTask(T itemTask) : base(itemTask, true) { }
    556556    protected HiveTask(HiveTask<T> original, Cloner cloner)
Note: See TracChangeset for help on using the changeset viewer.