Free cookie consent management tool by TermsFeed Policy Generator

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

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

#3026

  • removed/renamed all interfaces, classes and views related to results (are replaced by RunCollectionModifiers)
  • fixed a bug in JsonTemplateInstantiator to prevent errors for opening templates without a defined property for RunCollectionModifiers
File size: 834 bytes
Line 
1namespace HeuristicLab.JsonInterface {
2  /// <summary>
3  /// Constants for reading/writing templates.
4  /// </summary>
5  internal class Constants {
6
7    internal const string Metadata = "Metadata";
8    internal const string TemplateName = "TemplateName";
9    internal const string HLFileLocation = "HLFileLocation";
10    internal const string OptimizerDescription = "OptimizerDescription";
11    internal const string Parameters = "Parameters";
12    internal const string RunCollectionModifiers = "RunCollectionModifiers";
13
14    internal const string Template = @"{
15      '" + Metadata + @"': {
16        '" + TemplateName + @"':'',
17        '" + HLFileLocation + @"':'',
18        '" + OptimizerDescription + @"':''
19      },
20      '" + Parameters + @"': [],
21      '" + RunCollectionModifiers + @"': []
22    }";
23  }
24}
Note: See TracBrowser for help on using the repository browser.