public CNamespace(CNamespace parent, string name) { this.Parent = parent; if (this.Parent != null) { this.Parent.AddNamespace(this); } int PrimerPunto = name.IndexOf('.'); if (PrimerPunto != -1) { string AntesPunto = name.Substring(0, PrimerPunto); string DespuesPunto = name.Substring(PrimerPunto + 1); this.Name = AntesPunto; new CNamespace(this, DespuesPunto); } else { this.Name = name; } }
public CNamespace AddNamespace(CNamespace Child) { return(this.lChild.AddR(Child)); }