Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/19/09 14:02:35 (16 years ago)
Author:
epitzer
Message:

Add serializer class information to type cache. (#506)

File:
1 edited

Legend:

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

    r1361 r1362  
    172172      XmlParser parser = new XmlParser(new StreamReader("test.xml"));
    173173      DeSerializer deSerializer = new DeSerializer(
    174         XmlParser.ParseTypeCache(new StreamReader("test-types.xml")),
    175         ConfigurationService.Instance.GetDefaultConfig(XmlFormat.Instance));       
     174        XmlParser.ParseTypeCache(new StreamReader("test-types.xml")));       
    176175      object o = deSerializer.DeSerialize(parser);     
    177176      Console.Out.WriteLine(Util.AutoFormat(o, true));     
     
    192191      XmlParser parser = new XmlParser(new StreamReader("test2.xml"));
    193192      DeSerializer deSerializer = new DeSerializer(
    194         XmlParser.ParseTypeCache(new StreamReader("test-types.xml")),
    195         ConfigurationService.Instance.GetDefaultConfig(XmlFormat.Instance));       
     193        XmlParser.ParseTypeCache(new StreamReader("test-types.xml")));       
    196194      object o = deSerializer.DeSerialize(parser);     
    197195      Console.Out.WriteLine(Util.AutoFormat(o, true));     
Note: See TracChangeset for help on using the changeset viewer.