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
Esempio 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);
 }
Esempio 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);
 }