Ejemplo n.º 1
0
        // Token: 0x06000DC4 RID: 3524 RVA: 0x000534A0 File Offset: 0x000516A0
        internal static CalendarRepairLogConsistencyCheckEntry CreateInstance(ConsistencyCheckResult checkResult)
        {
            CalendarRepairLogConsistencyCheckEntry calendarRepairLogConsistencyCheckEntry = new CalendarRepairLogConsistencyCheckEntry();

            calendarRepairLogConsistencyCheckEntry.HasFixableInconsistency = false;
            calendarRepairLogConsistencyCheckEntry.checkResult             = checkResult;
            calendarRepairLogConsistencyCheckEntry.inconsistencyEntries    = new List <CalendarRepairLogInconsistencyEntry>(checkResult.InconsistencyCount);
            checkResult.ForEachInconsistency(new Action <Inconsistency>(calendarRepairLogConsistencyCheckEntry.AddInconsistency));
            return(calendarRepairLogConsistencyCheckEntry);
        }
Ejemplo n.º 2
0
        // Token: 0x06000DBF RID: 3519 RVA: 0x00053434 File Offset: 0x00051634
        private void AddConsistencyCheckResult(ConsistencyCheckResult checkResult)
        {
            CalendarRepairLogConsistencyCheckEntry calendarRepairLogConsistencyCheckEntry = CalendarRepairLogConsistencyCheckEntry.CreateInstance(checkResult);

            if (calendarRepairLogConsistencyCheckEntry.HasFixableInconsistency)
            {
                this.HasFixableInconsistency = true;
            }
            this.consistencyCheckEntries.Add(calendarRepairLogConsistencyCheckEntry);
        }