Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/27/09 13:45:33 (15 years ago)
Author:
epitzer
Message:

refactoring and code clean up. (#9999)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/New Persistence Exploration/Persistence/Persistence/Core/Serializer.cs

    r1425 r1447  
    55
    66namespace 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   }
    247
    258  public class Serializer : IEnumerable<ISerializationToken> {
Note: See TracChangeset for help on using the changeset viewer.