Esempio n. 1
0
 void Msgr_PrivacySettingChanged(object sender, PrivacySettingEventArgs e)
 {
     using (ConsoleExt.WithColor(eventColor))
         Console.WriteLine("{0} privacy setting changed to {1}", e.PrivacySetting, e.Value);
 }
 void OnPrivacySettingChanged(PrivacySettingEventArgs e)
 {
     EventHandler<PrivacySettingEventArgs> handler = PrivacySettingChanged;
     if (handler != null) handler(this, e);
 }