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/IntervalRestrictedJsonItem.cs

    r18043 r18055  
    11using System;
    22using Newtonsoft.Json.Linq;
     3using HEAL.Attic;
    34
    45namespace HeuristicLab.JsonInterface {
     6  [StorableType("4D76601B-9627-4ABD-A24B-49179D59AB11")]
    57  public abstract class IntervalRestrictedJsonItem<T> : JsonItem, IIntervalRestrictedJsonItem<T>
    6     where T : IComparable {
     8      where T : IComparable {
    79    public T Minimum { get; set; }
    810    public T Maximum { get; set; }
     
    1719      if (maxProp != null) Maximum = maxProp.ToObject<T>();
    1820    }
     21
     22    public IntervalRestrictedJsonItem() { }
     23
     24    [StorableConstructor]
     25    protected IntervalRestrictedJsonItem(StorableConstructorFlag _) : base(_) { }
    1926  }
    2027}
Note: See TracChangeset for help on using the changeset viewer.