Changeset 18055 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/JsonItems/IntervalRestrictedJsonItem.cs
- Timestamp:
- 09/16/21 15:27:07 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/JsonItems/IntervalRestrictedJsonItem.cs
r18043 r18055 1 1 using System; 2 2 using Newtonsoft.Json.Linq; 3 using HEAL.Attic; 3 4 4 5 namespace HeuristicLab.JsonInterface { 6 [StorableType("4D76601B-9627-4ABD-A24B-49179D59AB11")] 5 7 public abstract class IntervalRestrictedJsonItem<T> : JsonItem, IIntervalRestrictedJsonItem<T> 6 where T : IComparable {8 where T : IComparable { 7 9 public T Minimum { get; set; } 8 10 public T Maximum { get; set; } … … 17 19 if (maxProp != null) Maximum = maxProp.ToObject<T>(); 18 20 } 21 22 public IntervalRestrictedJsonItem() { } 23 24 [StorableConstructor] 25 protected IntervalRestrictedJsonItem(StorableConstructorFlag _) : base(_) { } 19 26 } 20 27 }
Note: See TracChangeset
for help on using the changeset viewer.