ChannelEventArgs.cs 711 B

123456789101112131415161718192021222324252627
  1. using System;
  2. namespace Renci.SshNet.Common
  3. {
  4. /// <summary>
  5. /// Base class for all channel related events.
  6. /// </summary>
  7. internal class ChannelEventArgs : EventArgs
  8. {
  9. /// <summary>
  10. /// Initializes a new instance of the <see cref="ChannelEventArgs"/> class.
  11. /// </summary>
  12. /// <param name="channelNumber">The channel number.</param>
  13. public ChannelEventArgs(uint channelNumber)
  14. {
  15. ChannelNumber = channelNumber;
  16. }
  17. /// <summary>
  18. /// Gets the channel number.
  19. /// </summary>
  20. /// <value>
  21. /// The channel number.
  22. /// </value>
  23. public uint ChannelNumber { get; }
  24. }
  25. }