SafeFileWritingCleanupActionEnum.cs 511 B

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