Beispiel #1
0
 protected virtual void RenderPage(XcstPage page, HttpContextBase context)
 {
     XcstEvaluator.Using((object)page)
     .CallInitialTemplate()
     .OutputTo(context.Response.Output)
     .Run();
 }
Beispiel #2
0
 RenderPage(XcstPage page, HttpContext context)
 {
     XcstEvaluator.Using((object)page)
     .CallInitialTemplate()
     .OutputTo(context.Response.BodyWriter.AsStream())
     .Run();
 }
Beispiel #3
0
        public XcstPageHandler(XcstPage page)
        {
            if (page is null)
            {
                throw new ArgumentNullException(nameof(page));
            }

            _page = page;
        }
Beispiel #4
0
 protected virtual void InitializePage(XcstPage page, HttpContextBase context) =>
 page.Context = context;
Beispiel #5
0
 InitializePage(XcstPage page, HttpContext context) =>
 page.Context = context;