예제 #1
0
        public void Empty()
        {
            var set = new S.XmlSchemaSet();

            G.ThisAssembly = A.GetExecutingAssembly();
            G.GenerateXObjects(set, null, null, null, true, false);
        }
예제 #2
0
        public void UnionTest(string s)
        {
            var set      = new S.XmlSchemaSet();
            var settings = new XML.XmlReaderSettings()
            {
                DtdProcessing = XML.DtdProcessing.Parse,
            };
            var reader = new System.IO.StringReader(s);
            var r      = XML.XmlReader.Create(reader, settings);

            set.Add(null, r);
            G.ThisAssembly = A.GetExecutingAssembly();
            G.GenerateXObjects(set, "temp.cs", null, null, true, false);
        }