Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1429


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

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

Location:
branches/New Persistence Exploration/Persistence
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/New Persistence Exploration/Persistence/Persistence/HeuristicLab.Persistence-3.3.csproj

    r1425 r1429  
    6464    <Compile Include="Default\Decomposers\StorableDecomposer.cs" />
    6565    <Compile Include="Default\Decomposers\TypeDecomposer.cs" />
     66    <Compile Include="Default\ViewOnly\ViewOnlyFormat.cs" />
    6667    <Compile Include="Default\Xml\Compact\IntArray2XmlFormatters.cs" />
    6768    <Compile Include="Default\Xml\Compact\DoubleArray2XmlFormatters.cs" />
  • 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.