SharpTuneCore.TableMetaData.ParseChildren C# (CSharp) Method

ParseChildren() private method

private ParseChildren ( System.Xml.Linq.XElement xel ) : void
xel System.Xml.Linq.XElement
return void
        private void ParseChildren(XElement xel)
        {
            try
            {
                foreach (XElement child in xel.Elements())
                {
                    string cname = child.Name.ToString();

                    switch (cname)
                    {
                        case "table":
                            this.AddAxis(child);
                            break;

                        case "description":
                            this.description = child.Value.ToString();
                            break;

                        default:
                            break;
                    }
                }
            }
            catch (Exception e)
            {
                Exception ne = new Exception("Error parsing table xml child elements", e);
                throw;
            }
        }