private void WriteSectionContents(RequestProcessorSection section) { foreach (var propertyInfo in section.RequestProcessorInfos) { _builder.AppendLine(MethodSeparatorPattern); WriteRequestProcessorInfo(propertyInfo); _builder.AppendLine(); } }
private void WriteSectionHeader(RequestProcessorSection section) { _builder.AppendLine(section.TitlePattern); _builder.AppendLine(); if (section.DescriptionPattern == null) { return; } _builder.AppendLine(section.DescriptionPattern); _builder.AppendLine(); }
private void WriteOneSection(RequestProcessorSection section) { WriteSectionHeader(section); WriteSectionContents(section); }