Changeset 2993 for trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/DictionarySerializer.cs
- Timestamp:
- 03/10/10 16:37:52 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/DictionarySerializer.cs
r1823 r2993 20 20 return ReflectionTools.HasDefaultConstructor(type) && 21 21 type.GetInterface(typeof(IDictionary).FullName) != null; 22 } 23 24 public string JustifyRejection(Type type) { 25 if (!ReflectionTools.HasDefaultConstructor(type)) 26 return "no default constructor"; 27 return "interface IDictionary not implemented"; 22 28 } 23 29
Note: See TracChangeset
for help on using the changeset viewer.