예제 #1
0
 public ChannelModeChangedEventArgs(IrcUser sender, IrcChannel channel, bool direction, char mode, string parameter)
 {
     this.Sender    = sender;
     this.Channel   = channel;
     this.Direction = direction;
     this.Mode      = mode;
     this.Parameter = parameter;
 }
예제 #2
0
 public ChannelListChangedEventArgs(IrcUser sender, IrcChannel channel, bool direction, char mode, string parameter, IEnumerable <IrcChannelUser> matchedUsers)
 {
     this.Sender       = sender;
     this.Channel      = channel;
     this.Direction    = direction;
     this.Mode         = mode;
     this.Parameter    = parameter;
     this.MatchedUsers = Channel.Users.Matching(parameter);
 }
예제 #3
0
 /// <summary>Creates a <see cref="IrcChannelUser"/> object representing the specified user with the specified status.</summary>
 /// <param name="nickname">The user's nickname.</param>
 /// <param name="client">The IRC client that this <see cref="IrcChannelUser"/> belongs to.</param>
 /// <param name="status">The status that this user has.</param>
 public IrcChannelUser(IrcClient client, IrcChannel channel, string nickname, ChannelStatus status)
 {
     this.Nickname = nickname;
     this.Client   = client;
     this.Status   = status;
 }
예제 #4
0
 /// <summary>Creates a <see cref="IrcChannelUser"/> object representing the specified user.</summary>
 /// <param name="nickname">The user's nickname.</param>
 /// <param name="client">The IRC client that this <see cref="IrcChannelUser"/> belongs to.</param>
 public IrcChannelUser(IrcClient client, IrcChannel channel, string nickname) : this(client, channel, nickname, new ChannelStatus(client))
 {
 }
예제 #5
0
 public ChannelTopicStampEventArgs(IrcChannel channel, string setter, DateTime timestamp)
 {
     this.Channel   = channel;
     this.Setter    = setter;
     this.Timestamp = timestamp;
 }
예제 #6
0
 public ChannelTopicEventArgs(IrcChannel channel, string topic)
 {
     this.Channel = channel;
     this.Topic   = topic;
 }
예제 #7
0
 public ChannelTimestampEventArgs(IrcChannel channel, DateTime timestamp)
 {
     this.Channel   = channel;
     this.Timestamp = timestamp;
 }
예제 #8
0
 public ChannelPartEventArgs(IrcUser sender, IrcChannel channel, string message)
 {
     this.Sender  = sender;
     this.Channel = channel;
     this.Message = message;
 }
예제 #9
0
 public ChannelNamesEventArgs(IrcChannel channel, string names)
 {
     this.Channel = channel;
     this.Names   = names;
 }
예제 #10
0
 public ChannelModesSetEventArgs(IrcUser sender, IrcChannel channel, IList <ModeChange> modes)
 {
     this.Sender  = sender;
     this.Channel = channel;
     this.Modes   = new ReadOnlyCollection <ModeChange>(modes);
 }
예제 #11
0
 public ChannelModesGetEventArgs(IrcChannel channel, ModeSet modes)
 {
     this.Channel = channel;
     this.Modes   = modes;
 }
예제 #12
0
 public ChannelModeListEndEventArgs(IrcChannel channel, string message)
 {
     this.Channel = channel;
     this.Message = message;
 }
예제 #13
0
 public ChannelLimitEventArgs(IrcUser sender, IrcChannel channel, int limit)
 {
     this.Sender  = sender;
     this.Channel = channel;
     this.Limit   = limit;
 }
예제 #14
0
 public ChannelKeyEventArgs(IrcUser sender, IrcChannel channel, string key)
 {
     this.Sender  = sender;
     this.Channel = channel;
     this.Key     = key;
 }
예제 #15
0
 public ChannelJoinEventArgs(IrcUser sender, IrcChannel channel, Task namesTask)
 {
     this.Sender    = sender;
     this.Channel   = channel;
     this.NamesTask = namesTask;
 }
예제 #16
0
 public ChannelJoinEventArgs(IrcUser sender, IrcChannel channel)
 {
     this.Sender  = sender;
     this.Channel = channel;
 }