WriteDocument() публичный Метод

public WriteDocument ( Server.Engines.Reports.PersistableObject root ) : void
root Server.Engines.Reports.PersistableObject
Результат void
Пример #1
0
        public void Save()
        {
            string            path = Path.Combine(Core.BaseDirectory, "reportHistory.xml");
            PersistanceWriter pw   = new XmlPersistanceWriter(path, "Stats");

            pw.WriteDocument(this);

            pw.Close();
        }
Пример #2
0
        public void Save()
        {
            string path = Path.Combine(Core.BaseDirectory, "reportHistory.xml");
            PersistanceWriter pw = new XmlPersistanceWriter(path, "Stats");

            pw.WriteDocument(this);

            pw.Close();
        }
Пример #3
0
        public void Save()
        {
            lock ( SaveLock )
            {
                string            path = Path.Combine(Core.BaseDirectory, "staffHistory.xml");
                PersistanceWriter pw   = new XmlPersistanceWriter(path, "Staff");

                pw.WriteDocument(this);

                pw.Close();
            }
        }
Пример #4
0
		public void Save()
		{
			lock ( SaveLock )
			{
				string path = Path.Combine( Core.BaseDirectory, "staffHistory.xml" );
				PersistanceWriter pw = new XmlPersistanceWriter( path, "Staff" );

				pw.WriteDocument( this );

				pw.Close();
			}
		}