Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/10/20 17:17:37 (4 years ago)
Author:
dpiringe
Message:

#3026:

  • refactored inheritance structure of json items, now the default JsonItem is an abstract class without properties Value and Range -> splitted up into new interfaces
  • updated view models for new json item structure
  • updated SingleLineArrayJsonWriter
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/Heuristiclab.ConfigStarter/Program.cs

    r17451 r17473  
    4646
    4747      IJsonItem root = JsonItemConverter.Extract(alg);
    48       var x = root.Children[0];
    49       root.Children.Remove(x);
    50       x.Parent = null;
     48      ActivateJsonItems(root);
     49      //var x = root.Children[0];
     50      //root.Children.Remove(x);
     51      //x.Parent = null;
    5152
    5253
     
    6465     
    6566    }
     67
     68    private static void ActivateJsonItems(IJsonItem item) {
     69      item.Active = true;
     70      if(item.Children != null) {
     71        foreach (var x in item.Children)
     72          ActivateJsonItems(x);
     73      }
     74    }
    6675  }
    6776}
Note: See TracChangeset for help on using the changeset viewer.