Exemplo n.º 1
0
        // Token: 0x0600287B RID: 10363 RVA: 0x00095BDC File Offset: 0x00093DDC
        public void ProcessRequest(HttpContext context)
        {
            this.Context = context;
            UserContext userContext       = UserContextManager.GetUserContext(context);
            string      currentOwaVersion = userContext.CurrentOwaVersion;

            this.pageContext             = this.GetPageContext(context, currentOwaVersion);
            this.SessionDataEnabled      = false;
            context.Response.ContentType = "application/x-javascript";
            this.Response.Cache.SetCacheability(HttpCacheability.NoCache);
            this.Response.CacheControl = "No-Cache";
            this.Response.Cache.SetNoServerCaching();
            ResourceBase[] userDataEmbeddedLinks = UserResourcesFinder.GetUserDataEmbeddedLinks(this.pageContext.ManifestType, this.pageContext.UserAgent.Layout, currentOwaVersion);
            UserSpecificResourceInjectorBase.WriteScriptBlock(new Action <string>(this.Context.Response.Write), this.pageContext, userContext, userDataEmbeddedLinks, currentOwaVersion);
        }
        // Token: 0x06002870 RID: 10352 RVA: 0x00095ABC File Offset: 0x00093CBC
        public static ResourceBase[] GetUserDataEmbeddedLinks(SlabManifestType manifestType, LayoutType layout, string owaVersion)
        {
            Slab bootSlab = UserResourcesFinder.CreateUserBootSlab(manifestType, layout, owaVersion);

            return(UserResourcesFinder.GetUserDataEmbeddedLinks(bootSlab, owaVersion));
        }