private static void testReadAndWriteValid(string aRes)
        {
            Genericode04CodeListSerializer serializer = new Genericode04CodeListSerializer();

            // Read code list
            CodeListDocument aCLDoc = serializer.Deserialize(aRes);

            Assert.IsNotNull(aCLDoc);

            // Write again
            string aDoc2 = serializer.Serialize(aCLDoc);

            Assert.IsNotNull(aDoc2);

            // Read code list again
            CodeListDocument aCLDoc2 = serializer.Deserialize(aDoc2);
        }
예제 #2
0
 public string ReadGC04CodeList(GeneratedClasses.Genericode.v04.CodeListDocument codeList)
 {
     return(genericode04CodeListSerializer.Serialize(codeList));
 }