Telerik.Web.Mvc.SiteMapHandler.Iterate C# (CSharp) Method

Iterate() private method

private Iterate ( XmlWriter writer, System.Web.SiteMapNode node, System.Web.HttpContextBase httpContext, string applicationRoot ) : void
writer System.Xml.XmlWriter
node System.Web.SiteMapNode
httpContext System.Web.HttpContextBase
applicationRoot string
return void
        private void Iterate(XmlWriter writer, SiteMapNode node, HttpContextBase httpContext, string applicationRoot)
        {
            WriteNode(writer, node, httpContext, applicationRoot);

            node.ChildNodes.Each(childNode => Iterate(writer, childNode, httpContext, applicationRoot));
        }