Beispiel #1
0
        public void JoinMessage()
        {
            string message = ":Banane9 JOIN #banane9";

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

            JoinMessage joinMessage = new JoinMessage(message);

            Assert.AreEqual<string>("Banane9", joinMessage.User);
            Assert.AreEqual<string>("#banane9", joinMessage.Channel);
        }
Beispiel #2
0
 /// <summary>
 /// Fires the JoinMessage event.
 /// </summary>
 /// <param name="joinMessage">The join message.</param>
 protected void onJoinMessage(JoinMessage joinMessage)
 {
     if (JoinMessage != null)
         JoinMessage(this, joinMessage);
 }
Beispiel #3
0
 private void client_JoinMessage(Client sender, JoinMessage joinMessage)
 {
 }