示例#1
0
 public override Node CreateNode(string label) {
     if ("MisconductReports".Equals(label)) {
         return (Reports = new MisconductReports(label));
     } else {
         return base.CreateNode(label);
     }
 }
示例#2
0
 public override Node CreateNode(string label)
 {
     if ("MisconductReports".Equals(label))
     {
         return(Reports = new MisconductReports(label));
     }
     else
     {
         return(base.CreateNode(label));
     }
 }