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/OptionalConstrainedValueParameter.cs

    r13368 r14711  
    3232  /// </summary>
    3333  [Item("OptionalConstrainedValueParameter", "A parameter whose value has to be chosen from a set of valid values or is null.")]
    34   [StorableClass("4C7B6C72-3684-4E0E-9BEC-9F8D20AC6152")]
     34  [StorableType("4C7B6C72-3684-4E0E-9BEC-9F8D20AC6152")]
    3535  public class OptionalConstrainedValueParameter<T> : Parameter, IConstrainedValueParameter<T> where T : class, IItem {
    3636    public override Image ItemImage {
     
    6767        if ((value != null) && (val == null))
    6868          throw new InvalidOperationException(
    69             string.Format("Type mismatch. Value is not a \"{0}\".",
     69            string.Format("MemberSelection mismatch. Value is not a \"{0}\".",
    7070                          typeof(T).GetPrettyName())
    7171          );
Note: See TracChangeset for help on using the changeset viewer.