Example #1
0
 /// <summary>
 /// Processes new events.
 /// </summary>
 private void ProcessEvents(NotificationMessage notificationMessage)
 {
     foreach (EventFieldList eventFields in notificationMessage.GetEvents(true))
     {
         // events are not really implemented
         WriteToLog((Localization.UseRussian ?
                     "Новое событие " :
                     "New event ") + eventFields);
     }
 }
Example #2
0
 /// <summary>
 /// Processes new events.
 /// </summary>
 private void ProcessEvents(NotificationMessage notificationMessage)
 {
     foreach (EventFieldList eventFields in notificationMessage.GetEvents(true))
     {
         // events are not really implemented
         Log.WriteLine(Locale.IsRussian ?
                       "Новое событие {0}" :
                       "New event {0}", eventFields);
     }
 }