// Token: 0x06000C65 RID: 3173 RVA: 0x0002E2FC File Offset: 0x0002C4FC protected override IList <NotificationPayloadBase> ReadDataAndResetStateInternal() { List <NotificationPayloadBase> list = new List <NotificationPayloadBase>(); lock (this.lockObject) { if (this.Payload != null) { list.Add(this.Payload); this.Payload = null; } } return(list); }
// Token: 0x06000214 RID: 532 RVA: 0x0000861C File Offset: 0x0000681C private static void SendPendingGetNotification(UserContext userContext, AttachmentOperationCorrelationIdNotificationPayload payload) { if (userContext.IsGroupUserContext) { return; } if (!userContext.IsDisposed) { AttachmentOperationCorrelationIdNotifier attachmentOperationCorrelationIdNotifier = new AttachmentOperationCorrelationIdNotifier(userContext, payload.SubscriptionId); try { attachmentOperationCorrelationIdNotifier.RegisterWithPendingRequestNotifier(); attachmentOperationCorrelationIdNotifier.Payload = payload; attachmentOperationCorrelationIdNotifier.PickupData(); } finally { attachmentOperationCorrelationIdNotifier.UnregisterWithPendingRequestNotifier(); } } }