示例#1
0
 void Msgr_GroupNameChanged(object sender, GroupNameEventArgs e)
 {
     using (ConsoleExt.WithColor(eventColor))
         Console.WriteLine("Group '{0}' name changed to '{1}'", e.PreviousName, e.Name);
 }
 internal void OnGroupNameChanged(GroupNameEventArgs e)
 {
     EventHandler<GroupNameEventArgs> handler = GroupNameChanged;
     if (handler != null) handler(this, e);
 }