Example #1
0
 // Token: 0x06000E20 RID: 3616 RVA: 0x00055444 File Offset: 0x00053644
 public bool IsMailboxInteresting(MailboxInformation mailboxInformation)
 {
     if (!mailboxInformation.IsUserMailbox() && !mailboxInformation.IsGroupMailbox())
     {
         CalendarRepairAssistantType.Tracer.TraceDebug <Guid>((long)this.GetHashCode(), "CalendarRepairAssistant Mailbox guid {0}: Not group or user mailbox", mailboxInformation.MailboxGuid);
         return(false);
     }
     if (!CalendarUpgrade.IsMailboxActive(new ExDateTime?(new ExDateTime(ExTimeZone.UtcTimeZone, mailboxInformation.LastLogonTime.ToUniversalTime()))))
     {
         CalendarRepairAssistantType.Tracer.TraceDebug <Guid>((long)this.GetHashCode(), "CalendarRepairAssistant Mailbox guid {0}: Inactive mailbox", mailboxInformation.MailboxGuid);
         return(false);
     }
     CalendarRepairAssistantType.Tracer.TraceDebug <Guid>((long)this.GetHashCode(), "CalendarRepairAssistant Mailbox guid {0}: Interesting mailbox", mailboxInformation.MailboxGuid);
     return(true);
 }