Changeset 14711 for branches/PersistenceOverhaul/HeuristicLab.Parameters/3.3/OptionalValueParameter.cs
- Timestamp:
- 03/03/17 11:41:43 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceOverhaul/HeuristicLab.Parameters/3.3/OptionalValueParameter.cs
r13368 r14711 31 31 /// </summary> 32 32 [Item("OptionalValueParameter", "A parameter whose value is defined in the parameter itself or is null.")] 33 [Storable Class("F6F3C1FF-02EC-4EEF-9513-9352D06ADB64")]33 [StorableType("F6F3C1FF-02EC-4EEF-9513-9352D06ADB64")] 34 34 public class OptionalValueParameter<T> : Parameter, IValueParameter<T> where T : class, IItem { 35 35 public override Image ItemImage { … … 59 59 if ((value != null) && (val == null)) 60 60 throw new InvalidOperationException( 61 string.Format(" Typemismatch. Value is not a \"{0}\".",61 string.Format("MemberSelection mismatch. Value is not a \"{0}\".", 62 62 typeof(T).GetPrettyName()) 63 63 );
Note: See TracChangeset
for help on using the changeset viewer.