Changeset 2993 for trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/EnumSerializer.cs
- Timestamp:
- 03/10/10 16:37:52 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/EnumSerializer.cs
r1823 r2993 16 16 public bool CanSerialize(Type type) { 17 17 return type.IsEnum || type == typeof(Enum); 18 } 19 20 public string JustifyRejection(Type type) { 21 return "not an enum and not System.Enum"; 18 22 } 19 23
Note: See TracChangeset
for help on using the changeset viewer.