Example #1
0
        public static BinaryOutput PrintHtml(HtmlOutput input)
        {
            var output = new BinaryOutput()
            {
                ContentType = "text/html", Data = input.Html
            };

            return(output);
        }
Example #2
0
        public static HtmlOutput AsHtml(this String str)
        {
            HtmlOutput html = new HtmlOutput()
            {
                Html = str
            };

            return(html);
        }