public ContentWidgetResult(HtmlString encodedContent) { if (encodedContent == null) { throw new ArgumentNullException(nameof(encodedContent)); } EncodedContent = encodedContent; Content = WebUtility.HtmlDecode(encodedContent.ToString()); }