SafeFileWritingCleanupActionEnum.cs 579 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Wayne.Lib.IO
  5. {
  6. /// <summary>
  7. /// Possible actions to take when cleaning up files that has been written by SafeFileWritingStream, and interrupted.
  8. /// </summary>
  9. public enum SafeFileWritingCleanupAction
  10. {
  11. /// <summary>
  12. /// Just delete the file
  13. /// </summary>
  14. Delete,
  15. /// <summary>
  16. /// Delete the file, and store a copy in the Wayne restore temporary file folder.
  17. /// </summary>
  18. StoreInRestoredTempFileDir,
  19. }
  20. }