TextNotify() private méthode

private TextNotify ( IrcUser user, StringStream text ) : void
user IrcUser
text StringStream
Résultat void
Exemple #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)));
            }
        }
        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));
            }
        }
Exemple #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)));
            }
        }