Ignore:
Timestamp:
03/26/09 12:39:21 (11 years ago)
Author:
epitzer
Message:

View-only serializer for debugging purposes. (#506)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/New Persistence Exploration/Persistence/Test/NewSerializationTest.cs

    r1363 r1429  
    66using HeuristicLab.Persistence.Default.Xml;
    77using HeuristicLab.Persistence.Interfaces;
     8using HeuristicLab.Persistence.Default.ViewOnly;
    89
    910namespace HeuristicLab.Persistence.Test {
     
    154155      r.dict.Add("two", 2);
    155156      r.dict.Add("three", 3);
    156       XmlGenerator.Serialize(r, "test");           
     157      XmlGenerator.Serialize(r, "test");     
    157158      object o = XmlParser.DeSerialize("test");
    158       Console.Out.WriteLine(Util.AutoFormat(o, true));     
     159      Console.Out.WriteLine(Util.AutoFormat(o, true));
     160      Console.WriteLine(ViewOnlyGenerator.Serialize(r));
     161      Console.WriteLine(ViewOnlyGenerator.Serialize(o));
    159162    }
    160163
Note: See TracChangeset for help on using the changeset viewer.