Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/01/21 14:37:18 (3 years ago)
Author:
dpiringe
Message:

#3026

  • removed the option to set the value for JsonItems via exporter
    • reworked some base controls
    • added new controls for JsonItem specific properties (e.g. ArrayResizable)
    • deleted a lot of obsolet controls
  • removed the Enable checkbox in the detail view of JsonItems
  • exporter now clones the IOptimizer object
  • added a check + message for unsupported exports
  • list of JsonItems now includes unsupported JsonItems (disabled and marked with 'unsupported')
  • refactored the converter type check
    • now every converter has to specify its supported type(s)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Models/JsonItem.cs

    r17519 r17828  
    1 using System.Collections;
     1using System;
     2using System.Collections;
    23using System.Collections.Generic;
    34using System.Linq;
     
    2627    public bool Success { get; }
    2728    public IEnumerable<string> Errors { get; }
     29
     30    public Exception GenerateException() =>
     31      new AggregateException(Errors.Select(x => new ArgumentException(x)));
    2832  }
    2933
     
    7680    }
    7781
    78     // TODO jsonIgnore dataType?
    7982    [JsonIgnore]
    8083    public virtual IEnumerable<IJsonItem> Children { get; protected set; }
Note: See TracChangeset for help on using the changeset viewer.