Пример #1
0
        protected virtual void WriteSection(DocumentFormatter output, int level, string header, IEnumerable <ICRef> items)
        {
            if (items == null || !items.Any())
            {
                return;
            }

            if (!string.IsNullOrEmpty(header))
            {
                output.Header(level, header);
            }

            output.List(items, item => output.LinkCRef(item.CRef, (item as ClrItem)?.Title));
        }