ExecuteWaitType.cs 721 B

12345678910111213141516171819202122
  1. namespace PaintDotNet.SystemLayer
  2. {
  3. public enum ExecuteWaitType
  4. {
  5. /// <summary>
  6. /// Returns immediately after executing without waiting for the task to finish.
  7. /// </summary>
  8. ReturnImmediately,
  9. /// <summary>
  10. /// Waits until the task exits before returning control to the calling method.
  11. /// </summary>
  12. WaitForExit,
  13. /// <summary>
  14. /// Returns immediately after executing without waiting for the task to finish.
  15. /// However, another task will be spawned that will wait for the requested task
  16. /// to finish, and it will then relaunch if the task was successful.
  17. /// </summary>
  18. RelaunchPdnOnExit
  19. }
  20. }