XText.XSection.BuildDocumentInternal C# (CSharp) Метод

BuildDocumentInternal() защищенный Метод

protected BuildDocumentInternal ( ) : System.Windows.Documents.Block
Результат System.Windows.Documents.Block
        protected override Block BuildDocumentInternal()
        {
            var section = new Section();
            foreach (var element in children)
            {
                var inline = element as XInline;
                section.Blocks.Add(inline != null
                    ? new Paragraph(inline.BuildElement())
                    : ((XBlock) element).BuildDocument());
            }
            return section;
        }