Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/16/21 15:27:07 (3 years ago)
Author:
dpiringe
Message:

#3026

  • added StorableTypeAttribute and StorableConstructorAttribute to all JsonItems
  • added a new JsonItem ListJsonItem + Interfaces IListJsonItem
  • renamed SymRegPythonProcessor to RunCollectionSRSolutionPythonFormatter
  • removed Interface IResultCollectionProcessor -> using the interface IRunCollectionModifier now (has aleady implementations)
  • renamed all related variables/fields/properties with a connection to ResultCollectionProcessor
  • added new implementations for IRunCollectionModifier
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/JsonItems/IntervalRestrictedValueJsonItem.cs

    r18040 r18055  
    11using System;
    22using Newtonsoft.Json.Linq;
     3using HEAL.Attic;
    34
    45namespace HeuristicLab.JsonInterface {
    5   public abstract class IntervalRestrictedValueJsonItem<T> : ValueJsonItem<T>, IIntervalRestrictedJsonItem<T> // TODO: intervalrestriction before value?
    6     where T : IComparable {
     6  [StorableType("5BD32AD9-7CA2-4837-B1C3-D47D0CD83035")]
     7  public abstract class IntervalRestrictedValueJsonItem<T> : ValueJsonItem<T>, IIntervalRestrictedJsonItem<T>
     8      where T : IComparable {
    79    public T Minimum { get; set; }
    810    public T Maximum { get; set; }
     
    2325      if (maxProp != null) Maximum = maxProp.ToObject<T>();
    2426    }
     27
     28    public IntervalRestrictedValueJsonItem() { }
     29
     30    [StorableConstructor]
     31    protected IntervalRestrictedValueJsonItem(StorableConstructorFlag _) : base(_) { }
    2532  }
    2633}
Note: See TracChangeset for help on using the changeset viewer.