TextNotify() private method

private TextNotify ( IrcUser user, StringStream text ) : void
user IrcUser
text StringStream
return void
Exemplo n.º 1
0
        internal void TextNotify(IrcUser user, IrcChannel chan, StringStream text)
        {
            if (chan != null)
            {
                chan.TextNotify(user, text);
            }
            OnText(user, chan, text);

            if (TriggersCommand(user, chan, text))
            {
                Task.Factory.StartNew(() => m_CommandHandler.Execute(new MsgCmdTrigger(text, user, chan)));
            }
        }
Exemplo n.º 2
0
        internal void TextNotify(IrcUser user, IrcChannel chan, StringStream text)
        {
            if (chan != null)
                chan.TextNotify(user, text);
            OnText(user, chan, text);

            if (TriggersCommand(user, chan, text))
            {
                m_CommandHandler.ReactTo(new MsgCmdTrigger(text, user, chan));
            }
        }
Exemplo n.º 3
0
        internal void TextNotify(IrcUser user, IrcChannel chan, StringStream text)
        {
            if (chan != null)
                chan.TextNotify(user, text);
            OnText(user, chan, text);

            if (TriggersCommand(user, chan, text))
            {
                Task.Factory.StartNew(()=>m_CommandHandler.Execute(new MsgCmdTrigger(text, user, chan)));
            }
        }