Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/03/17 11:41:43 (8 years ago)
Author:
gkronber
Message:

#2520

  • renamed StorableClass -> StorableType
  • changed persistence to use GUIDs instead of type names
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceOverhaul/HeuristicLab.Parameters/3.3/OptionalValueParameter.cs

    r13368 r14711  
    3131  /// </summary>
    3232  [Item("OptionalValueParameter", "A parameter whose value is defined in the parameter itself or is null.")]
    33   [StorableClass("F6F3C1FF-02EC-4EEF-9513-9352D06ADB64")]
     33  [StorableType("F6F3C1FF-02EC-4EEF-9513-9352D06ADB64")]
    3434  public class OptionalValueParameter<T> : Parameter, IValueParameter<T> where T : class, IItem {
    3535    public override Image ItemImage {
     
    5959        if ((value != null) && (val == null))
    6060          throw new InvalidOperationException(
    61             string.Format("Type mismatch. Value is not a \"{0}\".",
     61            string.Format("MemberSelection mismatch. Value is not a \"{0}\".",
    6262                          typeof(T).GetPrettyName())
    6363          );
Note: See TracChangeset for help on using the changeset viewer.