Exemplo n.º 1
0
 public Navigation(PageContext context)
 {
     _context = context;
 }
Exemplo n.º 2
0
 internal static async Task ProcessGetResult(HttpContext http, Document document, PageContext execution, HttpStatusCode code)
 {
     if (!string.IsNullOrEmpty(execution.RedirectLocation))
     {
         http.Response.Redirect(execution.RedirectLocation);
     }
     else
     {
         document.OpenEventQueue();
         var html = WriteDocument(execution.Document);
         await ReplyDocument(http, html, code);
     }
 }
Exemplo n.º 3
0
 public JsBridge(PageContext parent)
 {
     _parent = parent;
 }