ReadDocument() public method

public ReadDocument ( Server.Engines.Reports.PersistableObject root ) : void
root Server.Engines.Reports.PersistableObject
return void
Beispiel #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();
        }
Beispiel #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();
        }