internal void AddGetRemindersPayload(ReminderNotificationPayload payload)
 {
     lock (this)
     {
         if (!this.refreshAll)
         {
             this.shouldGetRemindersPayload = payload;
         }
     }
 }
        internal override void HandleNotificationInternal(Notification notif, MapiNotificationsLogEvent logEvent, object context)
        {
            if (notif == null)
            {
                return;
            }
            ReminderNotificationPayload reminderNotificationPayload = new ReminderNotificationPayload(true);

            reminderNotificationPayload.SubscriptionId = base.SubscriptionId;
            reminderNotificationPayload.Source         = MailboxLocation.FromMailboxContext(base.UserContext);
            this.reminderNotifier.AddGetRemindersPayload(reminderNotificationPayload);
            this.reminderNotifier.PickupData();
        }
 internal override void HandlePendingGetTimerCallback(MapiNotificationsLogEvent logEvent)
 {
     lock (base.SyncRoot)
     {
         base.InitSubscription();
         if (base.MissedNotifications)
         {
             base.NeedRefreshPayload = true;
         }
         base.MissedNotifications = false;
     }
     if (base.NeedRefreshPayload)
     {
         ReminderNotificationPayload reminderNotificationPayload = new ReminderNotificationPayload(true);
         reminderNotificationPayload.SubscriptionId = base.SubscriptionId;
         reminderNotificationPayload.Source         = MailboxLocation.FromMailboxContext(base.UserContext);
         this.reminderNotifier.AddGetRemindersPayload(reminderNotificationPayload);
         base.NeedRefreshPayload = false;
     }
     this.reminderNotifier.PickupData();
 }