コード例 #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;
 }