Example #1
0
        public test_data_rpc(test_data_rpc parent = null)
        {
            test_p p = new test_p();

            p.Name      = "1";
            this.parent = parent;
            children    = new List <test_data_rpc>();
            if (this.parent != null)
            {
                parent.children.Add(this);
            }
        }
Example #2
0
 public test_data_rpc(test_data_rpc parent = null)
 {
     test_p p = new test_p();
     p.Name = "1";
     this.parent = parent;
     children = new List<test_data_rpc>();
     if (this.parent != null)
         parent.children.Add(this);
 }