예제 #1
0
 private void OnChannelTopicChange(object sender, ChannelTopicChangeEventArgs e)
 {
     GetChannel(e.Channel).Topic = e.NewTopic;
 }
예제 #2
0
 protected void RaiseGotChannelTopicChange(ChannelTopicChangeEventArgs e)
 {
     Dispatch(GotChannelTopicChange, e);
 }
예제 #3
0
 private static void OnChannelTopicChange(object sender, ChannelTopicChangeEventArgs channelTopicChangeEventArgs)
 {
     var information = MethodBase.GetCurrentMethod().Name;
     try
     {
         var serverUser = GetServerUser(sender);
         Trace.WriteLine(information, serverUser.ToString());
     }
     catch (Exception ex)
     {
         Console.WriteLine("{0} exception {1}", information, ex.Message);
     }
 }
예제 #4
0
 protected virtual void OnGotChannelTopicChange(ChannelTopicChangeEventArgs e)
 {
     RaiseGotChannelTopicChange(e);
 }