- Timestamp:
- 03/26/09 10:42:56 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/New Persistence Exploration/Persistence/Persistence/Core/Serializer.cs
r1420 r1425 38 38 IFormatter f = configuration.GetFormatter(pair.Key); 39 39 if (f != null) { 40 serializer = f.GetType(). AssemblyQualifiedName;40 serializer = f.GetType().VersionInvariantName(); 41 41 } else { 42 42 IDecomposer d = configuration.GetDecomposer(pair.Key); 43 43 if (d != null) 44 serializer = d.GetType(). AssemblyQualifiedName;44 serializer = d.GetType().VersionInvariantName(); 45 45 } 46 result.Add(new TypeMapping(pair.Value, pair.Key. AssemblyQualifiedName, serializer));46 result.Add(new TypeMapping(pair.Value, pair.Key.VersionInvariantName(), serializer)); 47 47 } 48 48 return result; … … 96 96 String.Format( 97 97 "No suitable method for serializing values of type \"{0}\" found.", 98 value.GetType(). FullName));98 value.GetType().VersionInvariantName())); 99 99 } 100 100
Note: See TracChangeset
for help on using the changeset viewer.