예제 #1
0
        public NodeLang addChild(string name)
        {
            NodeLang child = new NodeLang(name);

            nodes.Add(child);
            return(child);
        }
예제 #2
0
        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("", "");
        }
예제 #3
0
 public NodeLang addChild(string name, NodeLang child)
 {
     nodes.Add(child);
     return(child);
 }
예제 #4
0
 public NodeLang(string name, NodeLang child)
 {
     this.name = name;
     this.nodes.Add(child);
 }