示例#1
0
 /// <summary>
 /// Initializes a new instance of the UserLeaveEventArgs class.
 /// </summary>
 /// <param name="user">The user, that have left the channel.</param>
 /// <param name="msg">The last message belonging to the leaving reason.</param>
 /// <param name="reason">The reason why the user have left.</param>
 public UserLeaveEventArgs(ChannelUser user, string msg, UserLeaveReason reason)
     : base(user.Client)
 {
     this.user = user;
     this.reason = reason;
     this.msg = msg;
 }
示例#2
0
 public UserLeaveEventArgs(ChannelUser user, UserLeaveReason reason)
 {
     this.user = user;
     this.reason = reason;
 }