ReadDocument() public method

public ReadDocument ( Server.Engines.Reports.PersistableObject root ) : void
root Server.Engines.Reports.PersistableObject
return void
Esempio n. 1
0
        public void Load()
        {
            string path = Path.Combine(Core.BaseDirectory, "reportHistory.xml");

            if (!File.Exists(path))
                return;

            PersistanceReader pr = new XmlPersistanceReader(path, "Stats");

            pr.ReadDocument(this);

            pr.Close();
        }
Esempio n. 2
0
        public void Load()
        {
            string path = Path.Combine(Core.BaseDirectory, "reportHistory.xml");

            if (!File.Exists(path))
            {
                return;
            }

            PersistanceReader pr = new XmlPersistanceReader(path, "Stats");

            pr.ReadDocument(this);

            pr.Close();
        }