source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Constants.cs @ 17405

Last change on this file since 17405 was 17405, checked in by dpiringe, 3 years ago

#3026:

  • added a new way to setup the targeted result types
  • added new ui controls: NumericRangeControl, JsonItemArrayControl, JsonItemDefaultControl
  • redesigned export dialog -> now the user can navigate with a tree view
  • enhanced JsonItemVM
File size: 891 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
7namespace HeuristicLab.JsonInterface {
8  /// <summary>
9  /// Constants for reading/writing templates.
10  /// </summary>
11  internal class Constants {
12
13    internal const string Metadata = "Metadata";
14    internal const string Optimizer = "Optimizer";
15    internal const string Problem = "Problem";
16    internal const string HLFileLocation = "HLFileLocation";
17    internal const string Parameters = "Parameters";
18    internal const string ActivatedResults = "ActivatedResults";
19
20    internal const string Template = @"{
21      '" + Metadata + @"': {
22        '" + Optimizer + @"':'',
23        '" + Problem + @"':'',
24        '" + HLFileLocation + @"':''
25      },
26      '" + Parameters + @"': [],
27      '" + ActivatedResults + @"': []
28    }";
29  }
30}
Note: See TracBrowser for help on using the repository browser.