示例#1
0
文件: Operator.cs 项目: 7shi/LLPML
 protected static Operator Init2(Operator op, BlockBase parent, NodeBase arg1, NodeBase arg2)
 {
     op.Parent = parent;
     if (arg1 != null) op.values.Add(arg1);
     if (arg2 != null) op.values.Add(arg2);
     return op;
 }
示例#2
0
文件: Operator.cs 项目: 7shi/LLPML
 protected static Operator Init1(Operator op, BlockBase parent, NodeBase arg1)
 {
     return Init2(op, parent, arg1, null);
 }