Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/08/19 11:36:09 (4 years ago)
Author:
dpiringe
Message:

#3026

  • added ConvertableAttribute, a new attribute for classes/structs (usage: convertable with JsonInterface)
  • changed JCGenerator -> is now a static class with one public static method Instantiate
  • changed JCInstantiator -> is now a static class with one public static method GenerateTemplate
  • refactored JsonItem
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.App/Runner.cs

    r17339 r17349  
    1111  internal static class Runner {
    1212    internal static void Run(string template, string config, string outputFile = @"C:\Workspace\test.txt") {
    13       JCInstantiator instantiator = new JCInstantiator();
    14       IAlgorithm alg = instantiator.Instantiate(template, config);
     13      IAlgorithm alg = JCInstantiator.Instantiate(template, config);
    1514 
    1615      Task task = alg.StartAsync();
Note: See TracChangeset for help on using the changeset viewer.