Exemple #1
0
 public void CopyTo(TempFile toFile)
 {
     toFile.Delete();
     File.Copy(FilePath, toFile.FilePath);
 }
Exemple #2
0
        public void DeleteFile(string fileName)
        {
            var file = new TempFile(this, fileName);

            file.Delete();
        }
Exemple #3
0
 public void MoveTo(TempFile toFile)
 {
     toFile.Delete();
     File.Move(FilePath, toFile.FilePath);
 }