public static object Substitute(this HtmlHelper html, MvcSubstitutionCallback substitutionCallback) { html.ViewContext.HttpContext.Response.WriteSubstitution(httpContext => substitutionCallback(new HttpContextWrapper(httpContext))); return(null); }
public static object Substitute(this HtmlHelper html, MvcSubstitutionCallback substitutionCallback) { html.ViewContext.HttpContext.Response.WriteSubstitution(httpContext => substitutionCallback(new HttpContextWrapper(httpContext))); return null; }