Changeset 1823 for trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/DictionarySerializer.cs
- Timestamp:
- 05/15/09 12:29:13 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers
- Files:
-
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/DictionarySerializer.cs
r1805 r1823 4 4 using HeuristicLab.Persistence.Interfaces; 5 5 using System.Collections.Generic; 6 using HeuristicLab.Persistence.Default. Decomposers.Storable;6 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 7 7 using HeuristicLab.Persistence.Auxiliary; 8 8 9 namespace HeuristicLab.Persistence.Default. Decomposers {9 namespace HeuristicLab.Persistence.Default.CompositeSerializers { 10 10 11 11 [EmptyStorableClass] 12 public class Dictionary Decomposer : IDecomposer {12 public class DictionarySerializer : ICompositeSerializer { 13 13 14 14 public int Priority { … … 17 17 18 18 19 public bool Can Decompose(Type type) {19 public bool CanSerialize(Type type) { 20 20 return ReflectionTools.HasDefaultConstructor(type) && 21 21 type.GetInterface(typeof(IDictionary).FullName) != null;
Note: See TracChangeset
for help on using the changeset viewer.