private void OnChannelTopicChange(object sender, ChannelTopicChangeEventArgs e) { GetChannel(e.Channel).Topic = e.NewTopic; }
protected void RaiseGotChannelTopicChange(ChannelTopicChangeEventArgs e) { Dispatch(GotChannelTopicChange, e); }
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); } }
protected virtual void OnGotChannelTopicChange(ChannelTopicChangeEventArgs e) { RaiseGotChannelTopicChange(e); }