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