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.Operators/3.3/DoubleCounter.cs

    r16453 r16462  
    2424using HeuristicLab.Data;
    2525using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727
    2828namespace HeuristicLab.Operators {
     
    3131  /// </summary>
    3232  [Item("DoubleCounter", "An operator which increments a double variable.")]
    33   [StorableClass]
     33  [StorableType("0DD61CAD-1FBB-4677-840C-3A1A85D77110")]
    3434  public sealed class DoubleCounter : SingleSuccessorOperator {
    3535    public LookupParameter<DoubleValue> ValueParameter {
     
    4545
    4646    [StorableConstructor]
    47     private DoubleCounter(bool deserializing) : base(deserializing) { }
     47    private DoubleCounter(StorableConstructorFlag _) : base(_) { }
    4848    private DoubleCounter(DoubleCounter original, Cloner cloner)
    4949      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.