public QuitEventArgs(IrcUser sender, string message) { this.Sender = sender; this.Message = message; }
public NicknameChangeEventArgs(IrcUser sender, string newNickname) { this.Sender = sender; this.NewNickname = newNickname; }
public PrivateMessageEventArgs(IrcUser sender, string target, string message) { this.Sender = sender; this.Target = target; this.Message = message; }
public IrcUserEventArgs(IrcUser user) { this.User = user; }
public InviteEventArgs(IrcUser sender, string target, string channel) { this.Sender = sender; this.Target = target; this.Channel = channel; }
public ChannelModesSetEventArgs(IrcUser sender, IrcChannel channel, IList <ModeChange> modes) { this.Sender = sender; this.Channel = channel; this.Modes = new ReadOnlyCollection <ModeChange>(modes); }
public ChannelPartEventArgs(IrcUser sender, IrcChannel channel, string message) { this.Sender = sender; this.Channel = channel; this.Message = message; }
public ChannelLimitEventArgs(IrcUser sender, IrcChannel channel, int limit) { this.Sender = sender; this.Channel = channel; this.Limit = limit; }
public ChannelKeyEventArgs(IrcUser sender, IrcChannel channel, string key) { this.Sender = sender; this.Channel = channel; this.Key = key; }
public ChannelJoinEventArgs(IrcUser sender, IrcChannel channel, Task namesTask) { this.Sender = sender; this.Channel = channel; this.NamesTask = namesTask; }
public ChannelJoinEventArgs(IrcUser sender, IrcChannel channel) { this.Sender = sender; this.Channel = channel; }
/// <summary>Initializes a new <see cref="MessageAsyncRequest"/> waiting for the specified type of message from the specified user to the specified target.</summary> /// <param name="user">The user to listen for a message from.</param> /// <param name="target">The entity to listen for a message to, which should be either the local user or a channel.</param> /// <param name="notice">Specifies whether to listen for a NOTICE instead of a PRIVMSG.</param> public MessageAsyncRequest(IrcUser user, IrcMessageTarget target, bool notice) : base(notice ? repliesNotice : repliesPrivmsg) { this.user = user; this.target = target; }