protected virtual void OnTopicRecieved(TopicRecievedEventArgs e) { EventHandler<TopicRecievedEventArgs> handler = TopicRecieved; if (handler != null) handler(this, e); }
private void Client_TopicRecieved(object sender, TopicRecievedEventArgs e) { channels[e.Channel].OnChatEvent(ChatEventType.TopicChange, e.Channel, e.Topic); }