Пример #1
0
 // Token: 0x060003E5 RID: 997 RVA: 0x0001BF14 File Offset: 0x0001A114
 private void UpdateEntireMailbox()
 {
     using (IEnumerator <List <object[]> > folderHierarchy = FolderProcessor.GetFolderHierarchy(DefaultFolderType.Root, this.mailboxDataForTags.MailboxSession, Synchronizer.FolderDataColumns))
     {
         while (folderHierarchy != null && folderHierarchy.MoveNext())
         {
             List <object[]> list = folderHierarchy.Current;
             if (list != null)
             {
                 this.ProcessFolder(list);
             }
         }
     }
 }
 // Token: 0x0600061D RID: 1565 RVA: 0x0002EDE0 File Offset: 0x0002CFE0
 private void CollectItemsToExpireInNonIpm()
 {
     using (IEnumerator <List <object[]> > folderHierarchy = FolderProcessor.GetFolderHierarchy(DefaultFolderType.Configuration, base.MailboxDataForTags.MailboxSession, SupplementExpirationEnforcer.FolderPropertyColumns.PropertyDefinitions))
     {
         while (folderHierarchy != null && folderHierarchy.MoveNext())
         {
             List <object[]> list = folderHierarchy.Current;
             if (list != null)
             {
                 SupplementExpirationEnforcer.Tracer.TraceDebug <SupplementExpirationEnforcer>((long)this.GetHashCode(), "{0}: Got folder hierarchy under non-ipm subtree.", this);
                 foreach (object[] rawProperties in list)
                 {
                     PropertyArrayProxy propertyArrayProxy = new PropertyArrayProxy(SupplementExpirationEnforcer.FolderPropertyColumns, rawProperties);
                     if (!this.IsFolderSkippable(propertyArrayProxy))
                     {
                         VersionedId property = propertyArrayProxy.GetProperty <VersionedId>(FolderSchema.Id);
                         this.ProcessFolderContents(property, ItemQueryType.None);
                         this.ProcessFolderContents(property, ItemQueryType.Associated);
                     }
                 }
             }
         }
     }
 }