Export() public method

public Export ( ) : int
return int
Ejemplo n.º 1
0
        protected void fullExport_Click(object sender, EventArgs e)
        {

            Stopwatch sw = Stopwatch.StartNew();

            ContentExporter cw = new ContentExporter(); 
            int contentCount = cw.ExportSite(false);

            MediaExporter me = new MediaExporter();
            int mediaCount = me.Export(); 

            sw.Stop(); 

            lblStatus.Text = String.Format("Exported {0} content nodes and {1} media items [{2} seconds]", 
                contentCount, mediaCount, sw.Elapsed.TotalSeconds); 
        }
Ejemplo n.º 2
0
 public int ExportMedia()
 {
     MediaExporter me = new MediaExporter();
     return me.Export();
 }