Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/07/09 12:43:26 (15 years ago)
Author:
epitzer
Message:

Include chain of declaring types for proper type information of nested types. (#575)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence.Test/NewSerializationTest.cs

    r1518 r1519  
    254254    }
    255255
     256    public class NestedType {
     257      [Storable]
     258      private string value = "value";
     259    }
     260
     261    public static void Test7() {
     262      NestedType t = new NestedType();
     263      XmlGenerator.Serialize(t, "test7.zip");
     264      object o = XmlParser.DeSerialize("test7.zip");
     265      Console.WriteLine(ViewOnlyGenerator.Serialize(t));
     266      Console.WriteLine(ViewOnlyGenerator.Serialize(o));
     267    }
     268
    256269
    257270    public static void Main() {
     
    263276      Test5();
    264277      Test6();
     278      Test7();
    265279      //SpeedTest();
    266280      //SpeedTest2();
Note: See TracChangeset for help on using the changeset viewer.