Exemplo n.º 1
0
        private static string GetHtmlContent(IEnumerable <INode> listOfNodes, bool isSasNeeded = true)
        {
            var renderer = new HtmlRenderer();

            renderer.CreateContent();

            listOfNodes = listOfNodes.ToList();
            foreach (var node in listOfNodes)
            {
                renderer.AddNode(node, isSasNeeded);
            }

            return(renderer.Build());
        }