Ejemplo n.º 1
0
        internal void HandleNoticeReceived(IIrcMessageSource source, IList <IIrcMessageTarget> targets, string text)
        {
            var previewEventArgs = new IrcPreviewMessageEventArgs(source, targets, text, this.Client.TextEncoding);

            OnPreviewNoticeReceived(previewEventArgs);
            if (!previewEventArgs.Handled)
            {
                OnNoticeReceived(new IrcMessageEventArgs(source, targets, text, this.Client.TextEncoding));
            }
        }