[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.IHtmlStringExtension.ToTemplate

ToTemplate Method

ToTemplate(HtmlString)

Render the html string in template mode.

Declaration
public static HtmlString ToTemplate(this HtmlString htmlString)
Parameters
Type Name Description
HtmlString htmlString

The specified html string

Returns
Type Description
HtmlString

An instance of html string with the template mode.

ToTemplate(IHtmlContent)

Render the HelperResult in template mode.

Declaration
public static IHtmlContent ToTemplate(this IHtmlContent htmlContent)
Parameters
Type Name Description
IHtmlContent htmlContent

The specified HelperResult.

Returns
Type Description
IHtmlContent

The HelperResult with the template mode.