internal NotificationStatisticsLogEvent(NotificationStatisticsEventType eventType, DateTime startTime, NotificationStatisticsKey key, NotificationStatisticsValue value)
 {
     if (key == null)
     {
         throw new ArgumentNullException("key");
     }
     if (value == null)
     {
         throw new ArgumentNullException("value");
     }
     this.eventType = eventType;
     this.startTime = startTime;
     this.key       = key;
     this.value     = value;
 }
        // Token: 0x06000E7A RID: 3706 RVA: 0x00036B64 File Offset: 0x00034D64
        private void WriteNotificationStatisticsData(NotificationStatisticsEventType eventType, NotificationStatistics statistics)
        {
            IDictionary <NotificationStatisticsKey, NotificationStatisticsValue> dictionary;
            DateTime startTime;

            statistics.GetAndResetStatisticData(out dictionary, out startTime);
            foreach (KeyValuePair <NotificationStatisticsKey, NotificationStatisticsValue> keyValuePair in dictionary)
            {
                NotificationStatisticsLogEvent notificationStatisticsLogEvent = new NotificationStatisticsLogEvent(eventType, startTime, keyValuePair.Key, keyValuePair.Value);
                if (this.TestLogEventCreated != null)
                {
                    this.TestLogEventCreated(notificationStatisticsLogEvent);
                }
                else
                {
                    OwaServerLogger.AppendToLog(notificationStatisticsLogEvent);
                }
            }
        }