Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/16/09 17:14:17 (15 years ago)
Author:
epitzer
Message:

Fix problem with loading configuration. Properly initialize and register instance for empty types and make sure Formats have comparable hash codes. (#583)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence/3.3/Core/DeSerializer.cs

    r1567 r1574  
    44using HeuristicLab.Persistence.Core.Tokens;
    55
    6 namespace HeuristicLab.Persistence.Core { 
     6namespace HeuristicLab.Persistence.Core {
    77
    8   public class Deserializer {   
     8  public class Deserializer {
    99
    1010    class Midwife {
     
    116116      Type type = typeIds[(int)token.TypeId];
    117117      Midwife midwife = parentStack.Pop();
     118      if (midwife.Obj == null)
     119        CreateInstance(midwife);
    118120      midwife.Populate();
    119121      SetValue(token.Name, midwife.Obj);
Note: See TracChangeset for help on using the changeset viewer.