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.Core/3.3/Log.cs

    r16453 r16462  
    2424using System.Drawing;
    2525using HeuristicLab.Common;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727using HeuristicLab.PluginInfrastructure;
    2828
    2929namespace HeuristicLab.Core {
    3030  [Item("Log", "A log for logging string messages.")]
    31   [StorableClass]
     31  [StorableType("8EF2479E-3C44-4631-BA0C-26C05AB13416")]
    3232  public sealed class Log : Item, ILog, IStorableContent {
    3333    public string Filename { get; set; }
     
    5050
    5151    [StorableConstructor]
    52     private Log(bool deserializing) : base(deserializing) { }
     52    private Log(StorableConstructorFlag _) : base(_) { }
    5353    private Log(Log original, Cloner cloner)
    5454      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.