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.Optimization/3.3/Results/ResultParameter.cs

    r16453 r16462  
    2626using HeuristicLab.Core;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Optimization {
    3131  [Item("ResultParameter", "A parameter whose value is written to a result collection.")]
    32   [StorableClass]
     32  [StorableType("CF10EF50-82B6-4A98-82C0-3C5ECED48904")]
    3333  public sealed class ResultParameter<T> : LookupParameter<T>, IResultParameter<T> where T : class, IItem {
    3434    public override Image ItemImage { get { return VSImageLibrary.Exception; } }
     
    6161
    6262    [StorableConstructor]
    63     private ResultParameter(bool deserializing) : base(deserializing) { }
     63    private ResultParameter(StorableConstructorFlag _) : base(_) { }
    6464    private ResultParameter(ResultParameter<T> original, Cloner cloner)
    6565      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.