public static HiContext Create(HttpContext context, bool isReWritten) { HiContext hiContext = new HiContext(context); hiContext.IsUrlReWritten = isReWritten; HiContext.smethod_0(hiContext); return(hiContext); }
public static HiContext Create(HttpContext context, UrlReWriterDelegate rewriter) { HiContext hiContext = new HiContext(context); HiContext.smethod_0(hiContext); if (rewriter != null) { hiContext.IsUrlReWritten = rewriter(context); } return(hiContext); }