Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/19/19 16:33:01 (5 years ago)
Author:
dpiringe
Message:

#3026:

  • relocated GetMaxValue and GetMinValue from ValueTypeValueConverter into BaseConverter
  • fixed a bug in ConstrainedValueParameterConverter (from GetType().Name to ToString())
  • printing now PrettyNames for types
  • added comments
  • added StorableConverter.cs (not finished, maybe not a good converter)
  • added ValueRangeConverter.cs for DoubleRange and IntRange
  • added ParameterConverter.cs for default parameter conversion
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Interfaces/IJsonItemConverter.cs

    r17284 r17353  
    1010  public interface IJsonItemConverter {
    1111    /// <summary>
     12    /// Injects the saved infos from the JsonItem into the IItem.
     13    /// (Sets the necessary values.)
     14    /// </summary>
     15    /// <param name="item">The IItem which get the data injected.</param>
     16    /// <param name="data">The JsonItem with the saved values.</param>
     17    void Inject(IItem item, JsonItem data);
     18
     19    /// <summary>
    1220    /// Extracts all infos out of an IItem to create a JsonItem.
    1321    /// (For template generation.)
     
    1624    /// <returns>JsonItem with infos to reinitialise the IItem.</returns>
    1725    JsonItem Extract(IItem value);
    18 
    19     /// <summary>
    20     /// Injects the saved infos from the JsonItem into the IItem.
    21     /// (Sets the necessary values.)
    22     /// </summary>
    23     /// <param name="item">The IItem which get the data injected.</param>
    24     /// <param name="data">The JsonItem with the saved values.</param>
    25     void Inject(IItem item, JsonItem data);
    2626  }
    2727}
Note: See TracChangeset for help on using the changeset viewer.