ChannelClosedEventArg.cs 475 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Taobao.Top.Link.Channel
  5. {
  6. /// <summary>channel closed reason
  7. /// </summary>
  8. public class ChannelClosedEventArgs : EventArgs
  9. {
  10. /// <summary>get reason why closed
  11. /// </summary>
  12. public string Reason { get; private set; }
  13. public ChannelClosedEventArgs(string reason)
  14. : base()
  15. {
  16. this.Reason = reason;
  17. }
  18. }
  19. }