namespace Umbraco.Cms.Core.Strings { /// /// Represents an HTML-encoded string that should not be encoded again. /// public class HtmlEncodedString : IHtmlEncodedString { private string _htmlString; /// Initializes a new instance of the class. /// An HTML-encoded string that should not be encoded again. public HtmlEncodedString(string value) { this._htmlString = value; } /// Returns an HTML-encoded string. /// An HTML-encoded string. public string ToHtmlString() { return this._htmlString; } /// Returns a string that represents the current object. /// A string that represents the current object. public override string ToString() { return this._htmlString; } } }