Beispiel #1
0
        /// <summary>
        /// Begins to process a request.
        /// </summary>
        /// <param name="httpContext"></param>
        private static void BeginRequest(HttpContextBase httpContext)
        {
            // write the trace output for diagnostics at the end of the request
            httpContext.Trace.Write("GloopModule", "Gloop request begins");

            // create the UmbracoContext singleton, one per request, and assign
            GloopContext.EnsureContext(httpContext);
        }
Beispiel #2
0
 public GloopHelper(GloopContext gloopContext, IGloopPageData currentPageData)
 {
     _gloopContext    = gloopContext;
     _currentPageData = currentPageData;
 }
Beispiel #3
0
 public GloopHelper(GloopContext gloopContext)
 {
     _gloopContext = gloopContext;
 }