コード例 #1
0
 /// <summary>
 ///     Replace each element in the set of matched elements with the provided new content
 /// </summary>
 public IExecutableSetting ReplaceWith(Func <object, HelperResult> text)
 {
     return(ReplaceWith(Selector.FromHelperResult(text)));
 }
コード例 #2
0
 /// <summary>
 ///     Set of matched elements or set the HTML contents of every matched element.
 /// </summary>
 public IExecutableSetting Html(Func <object, HelperResult> text)
 {
     return(Html(Selector.FromHelperResult(text)));
 }
コード例 #3
0
 /// <summary>
 ///     Insert content, specified by the parameter, before each element in the set of matched elements.
 /// </summary>
 public IExecutableSetting Before(Func <object, HelperResult> text)
 {
     return(Before(Selector.FromHelperResult(text)));
 }
コード例 #4
0
 /// <summary>
 ///     Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
 /// </summary>
 public IExecutableSetting Prepend(Func <object, HelperResult> text)
 {
     return(Prepend(Selector.FromHelperResult(text)));
 }
コード例 #5
0
 public static MvcHtmlString ToI(this RouteValueDictionary htmlAttributes, Func <object, HelperResult> text)
 {
     return(htmlAttributes.ToI(Selector.FromHelperResult(text).ToString()));
 }
 public static MvcHtmlString ToTag(this RouteValueDictionary htmlAttributes, HtmlTag tag, Func <object, HelperResult> content)
 {
     return(htmlAttributes.ToTag(tag, Selector.FromHelperResult(content).ToString()));
 }
コード例 #7
0
 public IncodingMetaCallbackInsertDsl Use(Func <object, HelperResult> text)
 {
     return(Use(new ValueSelector(Selector.FromHelperResult(text))));
 }