// Token: 0x06001C09 RID: 7177 RVA: 0x0006DD6C File Offset: 0x0006BF6C
        protected override ValidateAggregatedConfigurationResponse InternalExecute()
        {
            ValidateAggregatedConfigurationResponse report = new ValidateAggregatedConfigurationResponse();
            bool   flag  = false;
            object obj   = ValidateAggregatedConfiguration.RemoveFromValidationCache(base.MailboxIdentityMailboxSession);
            bool   flag2 = obj is bool && (bool)obj;

            UserConfigurationManager.IAggregationContext aggregationContext = obj as UserConfigurationManager.IAggregationContext;
            try
            {
                if (flag2)
                {
                    flag = true;
                    ExTraceGlobals.SessionDataHandlerTracer.TraceDebug((long)this.GetHashCode(), "ValidateAggregatedConfiguration was invoked and the aggregator was recently validated.");
                }
                else if (aggregationContext != null)
                {
                    aggregationContext.Validate(base.MailboxIdentityMailboxSession, delegate(IEnumerable <UserConfigurationDescriptor.MementoClass> faisRebuilt, IEnumerable <string> typesRebuilt)
                    {
                        foreach (UserConfigurationDescriptor.MementoClass mementoClass in faisRebuilt)
                        {
                            report.FaiUpdates.Add(mementoClass.ConfigurationName);
                            OwaSingleCounters.AggregatedUserConfigurationPartsRebuilt.Increment();
                            ExTraceGlobals.SessionDataHandlerTracer.TraceError <string>((long)this.GetHashCode(), "error found in configuration type {0}", mementoClass.ConfigurationName);
                        }
                        foreach (string item in typesRebuilt)
                        {
                            report.TypeUpdates.Add(item);
                        }
                    });
                    flag = true;
                }
                if (flag)
                {
                    ValidateAggregatedConfiguration.AddToValidationCache(base.MailboxIdentityMailboxSession, true);
                    report.IsValidated = true;
                }
            }
            finally
            {
                DisposeGuard.DisposeIfPresent(aggregationContext);
            }
            return(report);
        }
 // Token: 0x06001C08 RID: 7176 RVA: 0x0006DC54 File Offset: 0x0006BE54
 internal static void AddToValidationCache(MailboxSession session, object objectToAdd)
 {
     HttpRuntime.Cache.Insert(ValidateAggregatedConfiguration.CacheKeyFromSession(session), objectToAdd, null, DateTime.UtcNow.Add(TimeSpan.FromMinutes(5.0)), Cache.NoSlidingExpiration, CacheItemPriority.NotRemovable, new CacheItemRemovedCallback(ValidateAggregatedConfiguration.AggregationContextRemoved));
 }
 // Token: 0x06001C07 RID: 7175 RVA: 0x0006DC3F File Offset: 0x0006BE3F
 internal static object RemoveFromValidationCache(MailboxSession session)
 {
     return(HttpRuntime.Cache.Remove(ValidateAggregatedConfiguration.CacheKeyFromSession(session)));
 }