Esempio n. 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;
 }
Esempio n. 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);
 }
Esempio n. 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;
 }
Esempio n. 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))
 {
 }
Esempio n. 5
0
 public ChannelTopicStampEventArgs(IrcChannel channel, string setter, DateTime timestamp)
 {
     this.Channel   = channel;
     this.Setter    = setter;
     this.Timestamp = timestamp;
 }
Esempio n. 6
0
 public ChannelTopicEventArgs(IrcChannel channel, string topic)
 {
     this.Channel = channel;
     this.Topic   = topic;
 }
Esempio n. 7
0
 public ChannelTimestampEventArgs(IrcChannel channel, DateTime timestamp)
 {
     this.Channel   = channel;
     this.Timestamp = timestamp;
 }
Esempio n. 8
0
 public ChannelPartEventArgs(IrcUser sender, IrcChannel channel, string message)
 {
     this.Sender  = sender;
     this.Channel = channel;
     this.Message = message;
 }
Esempio n. 9
0
 public ChannelNamesEventArgs(IrcChannel channel, string names)
 {
     this.Channel = channel;
     this.Names   = names;
 }
Esempio n. 10
0
 public ChannelModesSetEventArgs(IrcUser sender, IrcChannel channel, IList <ModeChange> modes)
 {
     this.Sender  = sender;
     this.Channel = channel;
     this.Modes   = new ReadOnlyCollection <ModeChange>(modes);
 }
Esempio n. 11
0
 public ChannelModesGetEventArgs(IrcChannel channel, ModeSet modes)
 {
     this.Channel = channel;
     this.Modes   = modes;
 }
Esempio n. 12
0
 public ChannelModeListEndEventArgs(IrcChannel channel, string message)
 {
     this.Channel = channel;
     this.Message = message;
 }
Esempio n. 13
0
 public ChannelLimitEventArgs(IrcUser sender, IrcChannel channel, int limit)
 {
     this.Sender  = sender;
     this.Channel = channel;
     this.Limit   = limit;
 }
Esempio n. 14
0
 public ChannelKeyEventArgs(IrcUser sender, IrcChannel channel, string key)
 {
     this.Sender  = sender;
     this.Channel = channel;
     this.Key     = key;
 }
Esempio n. 15
0
 public ChannelJoinEventArgs(IrcUser sender, IrcChannel channel, Task namesTask)
 {
     this.Sender    = sender;
     this.Channel   = channel;
     this.NamesTask = namesTask;
 }
Esempio n. 16
0
 public ChannelJoinEventArgs(IrcUser sender, IrcChannel channel)
 {
     this.Sender  = sender;
     this.Channel = channel;
 }