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/Collections/DirectedGraph/Arc.cs

    r16453 r16462  
    2222using System;
    2323using HeuristicLab.Common;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Fossil;
    2525
    2626namespace HeuristicLab.Core {
    2727  [Item("Arc", "A graph arc connecting two graph vertices, that can have a weight, label, and data object for holding additional info")]
    28   [StorableClass]
     28  [StorableType("E91E40A2-FE77-49F0-866E-5127F3C1AC79")]
    2929  public class Arc : Item, IArc {
    3030    [Storable]
     
    5858
    5959    [StorableConstructor]
    60     protected Arc(bool deserializing) : base(deserializing) { }
     60    protected Arc(StorableConstructorFlag _) : base(_) { }
    6161
    6262    public Arc(IVertex source, IVertex target) {
     
    8282  }
    8383
    84   [StorableClass]
     84  [StorableType("5F06782E-3BD2-4A9D-B030-BE1D6A6B714F")]
    8585  public class Arc<T> : Arc, IArc<T> where T : class, IDeepCloneable {
    8686    [Storable]
     
    105105    }
    106106
    107     public Arc(bool deserializing)
    108       : base(deserializing) {
     107    [StorableConstructor]
     108    public Arc(StorableConstructorFlag _)
     109      : base(_) {
    109110    }
    110111
Note: See TracChangeset for help on using the changeset viewer.