Changeset 3017 for trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableSerializer.cs
- Timestamp:
- 03/14/10 01:06:17 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableSerializer.cs
r3016 r3017 11 11 /// <summary> 12 12 /// Intended for serialization of all custom classes. Classes should have the 13 /// <c>[StorableClass (StorableClassType.Empty)]</c> attribute set and a serialization mode set.13 /// <c>[StorableClass]</c> attribute set and a serialization mode set. 14 14 /// Optionally selected fields and properties can be marked with the 15 15 /// <c>[Storable]</c> attribute. 16 16 /// </summary> 17 [StorableClass (StorableClassType.Empty)]17 [StorableClass] 18 18 public class StorableSerializer : ICompositeSerializer { 19 19 … … 33 33 StorableConstructorAttribute.GetStorableConstructor(type) == null) 34 34 return "no default constructor and no storable constructor"; 35 return "class or one of its base classes is not empty and has no [StorableClass (StorableClassType.Empty)] attribute";35 return "class or one of its base classes is not empty and has no [StorableClass] attribute"; 36 36 } 37 37
Note: See TracChangeset
for help on using the changeset viewer.