Example #1
0
        public void Notice()
        {
            string message = ":Banane9 NOTICE #banane9 :Notice to channel!";

            Assert.IsTrue(Iris.Irc.ServerMessages.Notice.IsCorrectFormat(message));

            Notice notice = new Notice(message);

            Assert.AreEqual<string>("Banane9", notice.User);
            Assert.AreEqual<string>("#banane9", notice.Recipient);
            Assert.AreEqual<string>("Notice to channel!", notice.Message);
        }
Example #2
0
 /// <summary>
 /// Fires the Notice event.
 /// </summary>
 /// <param name="notice">The notice.</param>
 protected void onNotice(Notice notice)
 {
     if (Notice != null)
         Notice(this, notice);
 }
Example #3
0
 private void client_Notice(Client sender, Notice notice)
 {
 }