Changeset 17828 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/ViewModels/ArrayValueVM.cs
- Timestamp:
- 02/01/21 14:37:18 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/ViewModels/ArrayValueVM.cs
r17519 r17828 9 9 namespace HeuristicLab.JsonInterface.OptimizerIntegration { 10 10 11 12 13 14 15 /*16 public class StringArrayValueVM : ArrayValueVM<int, IntArrayJsonItem> {17 public override Type TargetedJsonItemType => typeof(StringArrayJsonItem);18 19 protected override int MinTypeValue => int.MinValue;20 21 protected override int MaxTypeValue => int.MaxValue;22 23 public override UserControl Control =>24 new JsonItemBaseControl(this, new JsonItemIntArrayValueControl(this));25 26 public override int[] Value {27 get => Item.Value;28 set {29 Item.Value = value;30 OnPropertyChange(this, nameof(Value));31 }32 }33 }34 */35 36 37 11 public abstract class ArrayValueVM<T, JsonItemType> : RangedValueBaseVM<T, JsonItemType>, IArrayJsonItemVM 38 12 where T : IComparable 39 13 where JsonItemType : class, IArrayJsonItem, IIntervalRestrictedJsonItem<T> { 40 14 15 public override UserControl Control => CompoundControl.Create(base.Control, ArrayJsonItemControl.Create(this)); 16 41 17 public ArrayValueVM() { } 42 18
Note: See TracChangeset
for help on using the changeset viewer.