Пример #1
0
 public void Testv2()
 {
     using (Stream stream = Resources.GetXmlDocumentStream("v2-schema"))
     {
         TestCodeGen.TestCSCodeInternal(stream);
     }
 }
Пример #2
0
 public void TestDiscriminator()
 {
     using (Stream stream = Resources.GetXmlDocumentStream("hierarchy"))
     {
         TestCodeGen.TestCSCodeInternal(stream);
     }
 }
Пример #3
0
 public void Testv2SingleFile()
 {
     using (Stream stream = Resources.GetXmlDocumentStream("v2-schema"))
     {
         TestCodeGen.TestCSCodeInternal(stream, new WXMLCodeDomGeneratorSettings {
             SingleFile = true
         });
     }
 }