Exemple #1
0
 // Token: 0x0600135F RID: 4959 RVA: 0x00077C48 File Offset: 0x00075E48
 internal void NotificationPickedUpByPendingGet(SearchNotificationType searchNotificationType)
 {
     if ((searchNotificationType & SearchNotificationType.FirstPage) != SearchNotificationType.None && this.firstPageLatency.PendingGetPickup == -1L)
     {
         this.firstPageLatency.PendingGetPickup = this.watch.ElapsedMilliseconds;
     }
     if ((searchNotificationType & SearchNotificationType.Complete) != SearchNotificationType.None)
     {
         this.completeLatency.PendingGetPickup = this.watch.ElapsedMilliseconds;
     }
 }
 // Token: 0x060008BB RID: 2235 RVA: 0x000404B8 File Offset: 0x0003E6B8
 internal void AddSearchFolderRefreshPayload(OwaStoreObjectId folderId, SearchNotificationType searchNotificationType)
 {
     if (folderId == null)
     {
         throw new ArgumentNullException("folderId");
     }
     ExTraceGlobals.NotificationsCallTracer.TraceDebug <SearchNotificationType>((long)this.GetHashCode(), "[SearchPayload.AddSearchFolderRefreshPayload] Adding search notification type {0}", searchNotificationType);
     lock (this)
     {
         this.searchNotificationType |= searchNotificationType;
         if (!this.searchFolderRefreshList.Contains(folderId))
         {
             this.searchFolderRefreshList.Add(folderId);
         }
     }
 }