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

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