Пример #1
0
        internal String GetXmlConfigFilePath(string ConfigType)
        {
            String xmlFilePath = appPath + "\\Data\\ArcheoCatalogConfig" + ConfigType + ".xml";

            if (!File.Exists(xmlFilePath))
            {
                ArcheoObjectXmlData xmld = new ArcheoObjectXmlData();
                xmld.InitializeXMLFile(xmlFilePath);
            }
            return(xmlFilePath);
        }
Пример #2
0
        internal string GetXmlDataFilePath()
        {
            String xmlDataFilePath = appPath + "\\Data\\ArcheoCatalogData.xml";

            if (!File.Exists(xmlDataFilePath))
            {
                ArcheoObjectXmlData xmld = new ArcheoObjectXmlData();
                xmld.InitializeXMLFile(xmlDataFilePath);
            }
            return(xmlDataFilePath);
        }
Пример #3
0
        internal void CreateArcheoObjectDictionary()
        {
            ArcheoObjectXmlData xmlData = new ArcheoObjectXmlData();

            this.archeoObjects = xmlData.GetArcheoObjColFromXMLDoc();
        }
Пример #4
0
        internal void SaveArcheoObjects()
        {
            ArcheoObjectXmlData xmlData = new ArcheoObjectXmlData();

            xmlData.SaveXMLDocumentAsFile(xmlData.GenerateXMLDocumentFromArcheoObjectList(this.archeoObjects), new FilePaths().GetXmlDataFilePath());
        }
Пример #5
0
 internal ArcheoObjectCtl()
 {
     this.xmlData       = new ArcheoObjectXmlData();
     this.archeoObjects = this.xmlData.GetArcheoObjColFromXMLDoc();
 }