コード例 #1
0
ファイル: Printers.cs プロジェクト: stayyule/icsharp.kernel
        public static BinaryOutput PrintHtml(HtmlOutput input)
        {
            var output = new BinaryOutput()
            {
                ContentType = "text/html", Data = input.Html
            };

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

            return(html);
        }