Sample Writer/writer handler. Has the following custom behavior: - Handles System.TimeZoneInfo via a special tag. See the SampleCustomHandler for reading this type.
Inheritance: WriteHandlers.BaseWriteHandler
Ejemplo n.º 1
0
 public static void TestCustomHandler()
 {
     SampleCustomHandler customHandler = new SampleCustomHandler();
     SampleCustomWriter customWriter = new SampleCustomWriter();
     var r1 = EDNReader.EDNReaderFuncs.readString(TEST_STR_CustomTypeTimezone, customHandler).First();
     string printedObj = EDNWriter.EDNWriterFuncs.writeString(r1, customWriter);
 }
Ejemplo n.º 2
0
 public static void TestCustomHandler()
 {
     SampleCustomHandler customHandler = new SampleCustomHandler();
     SampleCustomWriter  customWriter  = new SampleCustomWriter();
     var    r1         = EDNReader.EDNReaderFuncs.readString(TEST_STR_CustomTypeTimezone, customHandler).First();
     string printedObj = EDNWriter.EDNWriterFuncs.writeString(r1, customWriter);
 }