public IIncodingMetaLanguageEventBuilderDsl AjaxPost([NotNull] Func <IUrlDispatcher, string> url) { var urlDispatcher = new UrlDispatcher(new UrlHelper(Html.ViewContext)); return(AjaxPost(url(urlDispatcher))); }
public IncodingMetaCallbackInsertDsl WithTemplateByUrl(Func <UrlDispatcher, string> evaluated) { var dispatcher = new UrlDispatcher(new UrlHelper(_htmlHelper.ViewContext)); return(WithTemplateByUrl(evaluated(dispatcher))); }