Click or drag to resize

Html Constructor

Overload List
  NameDescription
Public methodHtml(FormattableString)
Creates a new Html from the given FormattableString. Static parts of the template will be considered safe and won't be encoded while variable parts (between '{' and '}') will be html encoded. This constructor will use the current culture for formatting.
Public methodHtml(IHtmlString)
Creates a new Html from the given IHtmlString.
Public methodHtml(IFormatProvider, FormattableString)
Creates a new Html from the given FormattableString and IFormatProvider. Static parts of the template will be considered safe and won't be encoded while variable parts (between '{' and '}') will be html encoded.
Top
See Also