EventSynchronizationStrategy.cs 611 B

12345678910111213141516171819202122232425
  1. #if UNMANAGED
  2. namespace SevenZip
  3. {
  4. /// <summary>
  5. /// The way of the event synchronization.
  6. /// </summary>
  7. public enum EventSynchronizationStrategy
  8. {
  9. /// <summary>
  10. /// Events are called synchronously if user can do some action; that is, cancel the execution process for example.
  11. /// </summary>
  12. Default,
  13. /// <summary>
  14. /// Always call events asynchronously.
  15. /// </summary>
  16. AlwaysAsynchronous,
  17. /// <summary>
  18. /// Always call events synchronously.
  19. /// </summary>
  20. AlwaysSynchronous
  21. }
  22. }
  23. #endif