Ejemplo n.º 1
0
 void Msgr_UserCapabilitiesChanged(object sender, UserCapabilitiesEventArgs e)
 {
     using (ConsoleExt.WithColor(eventColor))
         Console.WriteLine("{0} capabilities changed to {1}", e.User.Nickname ?? e.User.LoginName, e.Capabilities);
 }
Ejemplo n.º 2
0
 internal void OnUserCapabilitiesChanged(UserCapabilitiesEventArgs e)
 {
     EventHandler<UserCapabilitiesEventArgs> handler = UserCapabilitiesChanged;
     if (handler != null) handler(this, e);
 }