示例#1
0
        // ========================================
        // field
        // ========================================

        // ========================================
        // constructor
        // ========================================

        // ========================================
        // property
        // ========================================

        // ========================================
        // method
        // ========================================
        public string ToPlainText(IEnumerable <Flow> blocksAndInlines, PlainTextWriterSettings settings)
        {
            var buf = new StringBuilder();

            foreach (var flow in blocksAndInlines)
            {
                buf.Append(flow.ToPlainText(settings));
            }
            return(buf.ToString());
        }
示例#2
0
        public string ToPlainText(IEnumerable <Flow> blocksAndInlines)
        {
            var settings = new PlainTextWriterSettings();

            return(ToPlainText(blocksAndInlines, settings));
        }