Пример #1
0
        public static WorkbookDocument Parse(XmlDocument xmlDoc, XmlNamespaceManager NameSpaceManager)
        {
            Stopwatch sw = new Stopwatch();

            sw.Start();
            CT_Workbook obj = CT_Workbook.Parse(xmlDoc.DocumentElement, NameSpaceManager);

            sw.Stop();
            Debug.WriteLine("CT_Workbook parse time: " + sw.ElapsedMilliseconds + "ms");
            return(new WorkbookDocument(obj));
        }
Пример #2
0
        public static WorkbookDocument Parse(XmlDocument xmlDoc, XmlNamespaceManager NameSpaceManager)
        {
            CT_Workbook obj = CT_Workbook.Parse(xmlDoc.DocumentElement, NameSpaceManager);

            return(new WorkbookDocument(obj));
        }