示例#1
0
        private string GetCurrentServicesHTML()
        {
            List <Service> services   = new List <Service>();
            string         currentkey = _tree.FirstKey();

            while (currentkey != null)
            {
                if (_tree.ContainsKey(currentkey))
                {
                    Service tempService = new Service();
                    tempService.ParseXMLString(_tree[currentkey]);
                    services.Add(tempService);
                }
                currentkey = _tree.NextKey(currentkey);
            }
            return(RenderTemplate(services));
        }