public NodeLang addChild(string name) { NodeLang child = new NodeLang(name); nodes.Add(child); return(child); }
public BaseFR(string name) : base(name) { NodeLang main = this.addChild("main"); NodeLang home = main.addChild("home"); home.addChild("", ""); home.addChild("", ""); home.addChild("", ""); home.addChild("", ""); home.addChild("", ""); home.addChild("", ""); home.addChild("", ""); NodeLang users = main.addChild("users"); users.addChild("", ""); users.addChild("", ""); users.addChild("", ""); users.addChild("", ""); users.addChild("", ""); users.addChild("", ""); users.addChild("", ""); }
public NodeLang addChild(string name, NodeLang child) { nodes.Add(child); return(child); }
public NodeLang(string name, NodeLang child) { this.name = name; this.nodes.Add(child); }