/// <summary> /// Initializes a new instance of the <see cref="PlainTextString"/> class /// and specifies initial text for the object to contain. /// </summary> /// /// <param name="htmlText">Initial value of the object.</param> /// /// <remarks> /// The <P>htmlText</P> will be converted to plain text by a call to <Mth>HttpUtility.HtmlDecode</Mth>. /// </remarks> /// internal PlainTextString(HtmlString htmlText) { m_plainText = HttpUtility.HtmlDecode(htmlText); }
internal void AddAttribute(HtmlTextWriterAttribute key, HtmlString html) { m_htmlTextWriter.AddAttribute(key, (string)html, false); }
internal void WriteHtml(HtmlString html) { m_htmlTextWriter.Write(html); }
internal void AddAttribute(string name, HtmlString html) { m_htmlTextWriter.AddAttribute(name, (string)html, false); }