- Timestamp:
- 03/27/09 13:45:33 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/New Persistence Exploration/Persistence/Persistence/Core/Serializer.cs
r1425 r1447 5 5 6 6 namespace HeuristicLab.Persistence.Core { 7 8 public struct TypeMapping {9 public readonly int Id;10 public readonly string TypeName;11 public readonly string Serializer;12 public TypeMapping(int id, string typeName, string serializer) {13 Id = id;14 TypeName = typeName;15 Serializer = serializer;16 }17 public Dictionary<string, object> GetDict() {18 return new Dictionary<string, object> {19 {"id", Id},20 {"typeName", TypeName},21 {"serializer", Serializer}};22 }23 }24 7 25 8 public class Serializer : IEnumerable<ISerializationToken> {
Note: See TracChangeset
for help on using the changeset viewer.