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.Parameters/3.3/ConstrainedValueParameter.cs

    r16453 r16462  
    2525using HeuristicLab.Common;
    2626using HeuristicLab.Core;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Parameters {
     
    3232  /// </summary>
    3333  [Item("ConstrainedValueParameter", "A parameter whose value has to be chosen from a set of valid values.")]
    34   [StorableClass]
     34  [StorableType("A9B43259-2687-4AE8-9803-B58CE01B81EE")]
    3535  public class ConstrainedValueParameter<T> : OptionalConstrainedValueParameter<T> where T : class, IItem {
    3636    public override T Value {
     
    4343
    4444    [StorableConstructor]
    45     protected ConstrainedValueParameter(bool deserializing) : base(deserializing) { }
     45    protected ConstrainedValueParameter(StorableConstructorFlag _) : base(_) { }
    4646    protected ConstrainedValueParameter(ConstrainedValueParameter<T> original, Cloner cloner) : base(original, cloner) { }
    4747    public ConstrainedValueParameter() : base() { }
Note: See TracChangeset for help on using the changeset viewer.