// Token: 0x06000E6B RID: 3691 RVA: 0x00036594 File Offset: 0x00034794 public void NotificationPushed(string destinationUrl, IEnumerable <NotificationPayloadBase> payloads, DateTime pushTime) { if ((NotificationStatisticsManager.IncomingNotificationStatisticsEnabled || NotificationStatisticsManager.OutgoingNotificationStatisticsEnabled) && !string.IsNullOrEmpty(destinationUrl)) { if (NotificationStatisticsManager.IncomingNotificationStatisticsEnabled) { this.BulkUpdateIncomingNotifications(payloads, delegate(NotificationStatisticsValue v, NotificationPayloadBase p) { NotificationStatisticsManager.UpdateNotificationPushed(v, p, pushTime); }); } if (NotificationStatisticsManager.OutgoingNotificationStatisticsEnabled) { this.outgoingNotifications.Update(new ServerLocation(destinationUrl), NotificationStatisticsManager.GetStatisticablePayloads(payloads), delegate(NotificationStatisticsValue v, NotificationPayloadBase p) { NotificationStatisticsManager.UpdateNotificationPushed(v, p, pushTime); }); } this.TriggerLogCheck(); } }
// Token: 0x06000E6A RID: 3690 RVA: 0x000364D8 File Offset: 0x000346D8 public void NotificationPushed(string destinationUrl, NotificationPayloadBase payload, DateTime pushTime) { if ((NotificationStatisticsManager.IncomingNotificationStatisticsEnabled || NotificationStatisticsManager.OutgoingNotificationStatisticsEnabled) && !string.IsNullOrEmpty(destinationUrl) && NotificationStatisticsManager.IsStatisticable(payload)) { if (NotificationStatisticsManager.IncomingNotificationStatisticsEnabled) { this.incomingNotifications.Update(payload.Source, payload, delegate(NotificationStatisticsValue v, NotificationPayloadBase p) { NotificationStatisticsManager.UpdateNotificationPushed(v, p, pushTime); }); } if (NotificationStatisticsManager.OutgoingNotificationStatisticsEnabled) { this.outgoingNotifications.Update(new ServerLocation(destinationUrl), payload, delegate(NotificationStatisticsValue v, NotificationPayloadBase p) { NotificationStatisticsManager.UpdateNotificationPushed(v, p, pushTime); }); } this.TriggerLogCheck(); } }