Exemplo n.º 1
0
 /****************************************************************************/
 public override void CopyTo(FileSpec objDestination, bool bOverwrite)
 {
     if (objDestination is DiskFileSpec)
     {
         CopyToFile(objDestination as DiskFileSpec, bOverwrite);
     }
     else
     {
         base.CopyTo(objDestination, bOverwrite);
     }
 }
Exemplo n.º 2
0
        /****************************************************************************/
        public virtual void CopyTo(FileSpec objDestination, bool bOverwrite)
        {
            IEnumerable aFiles = this.GetFiles(false);

            foreach (string strSourceFilePath in aFiles)
            {
                if (m_objProgress != null)
                {
                    m_objProgress.SetProgress(strSourceFilePath);
                }

                objDestination.DropFile(this, strSourceFilePath, bOverwrite);
            }

            return;
        }
Exemplo n.º 3
0
 /****************************************************************************/
 public override void DropFile(FileSpec objSpec, string strFileName, bool bOverwrite)
 {
     // Do nothing because this will never get called
 }
Exemplo n.º 4
0
 /****************************************************************************/
 public CompareModificationDates(FileSpec objSpec)
 {
     m_objSpec = objSpec;
 }
Exemplo n.º 5
0
 public abstract void                DropFile(FileSpec objSpec, string strFileName, bool bOverwrite);