Free cookie consent management tool by TermsFeed Policy Generator

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

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

#3026

  • added a new protected virtual property in CheckedItemListView to be able to change the text of the groupBox
  • removed event handling in ResultCollectionPostProcessorControl and overwrote the new property GroupBoxText
  • added a new section in ExportJsonDialog for result collection processors
  • renamed IResultCollectionPostProcessor to IResultCollectionProcessor + all connected classes
  • added/changed the workflow of ResultCollectionProcessors in JsonTemplateGenerator and JsonTemplateInstantiator
    • also changed Constants.cs -> added a new section in template ResultCollectionProcessorItems
File size: 814 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 Parameters = "Parameters";
11    internal const string Results = "Results";
12    internal const string ResultCollectionProcessorItems = "ResultCollectionProcessors";
13
14    internal const string Template = @"{
15      '" + Metadata + @"': {
16        '" + TemplateName + @"':'',
17        '" + HLFileLocation + @"':''
18      },
19      '" + Parameters + @"': [],
20      '" + Results + @"': [],
21      '" + ResultCollectionProcessorItems + @"': []
22    }";
23  }
24}
Note: See TracBrowser for help on using the repository browser.