IntEventArgs.cs 610 B

12345678910111213141516171819202122232425262728
  1. #if UNMANAGED
  2. namespace SevenZip
  3. {
  4. using System;
  5. /// <summary>
  6. /// Stores an int number
  7. /// </summary>
  8. public sealed class IntEventArgs : EventArgs
  9. {
  10. /// <summary>
  11. /// Initializes a new instance of the IntEventArgs class
  12. /// </summary>
  13. /// <param name="value">Useful data carried by the IntEventArgs class</param>
  14. public IntEventArgs(int value)
  15. {
  16. Value = value;
  17. }
  18. /// <summary>
  19. /// Gets the value of the IntEventArgs class
  20. /// </summary>
  21. public int Value { get; }
  22. }
  23. }
  24. #endif