// Token: 0x06000782 RID: 1922 RVA: 0x00035430 File Offset: 0x00033630
        internal static bool IsDumpsterFolder(MailboxSession itemStore, StoreObjectId folderId)
        {
            bool result;

            using (COWSession cowsession = COWSession.Create(itemStore))
            {
                result = cowsession.IsDumpsterFolder(itemStore, folderId);
            }
            return(result);
        }
Example #2
0
 // Token: 0x060000C7 RID: 199 RVA: 0x00005318 File Offset: 0x00003518
 internal static bool IsItemInDumpster(MailboxSession mailboxSession, IStoreObject storeObject)
 {
     if (storeObject != null && storeObject.ParentId != null)
     {
         using (COWSession cowsession = COWSession.Create(mailboxSession))
         {
             return(cowsession.IsDumpsterFolder(mailboxSession, storeObject.ParentId));
         }
         return(false);
     }
     return(false);
 }