public CollectionSizeNode(int collectionIndex, NodeContext context)
 {
     this.Context = (NodeContext) context.Clone();
     this.collectionIndex = collectionIndex;
 }
Пример #2
0
 public DivideNode(NodeContext context, INode numerator, INode denomiator)
 {
     this.context = (NodeContext) context.Clone();
     this.numerator = (INode) numerator.Clone();
     this.denomiator = (INode) denomiator.Clone();
 }
Пример #3
0
 public SumNode(NodeContext context, int collectionIndex, INode sumFunction)
 {
     this.Context = (NodeContext) context.Clone();
     this.collectionIndex = collectionIndex;
     this.sumFunction = (INode) sumFunction.Clone();
 }
 public SubtractNode(NodeContext context, INode left, INode right)
 {
     this.context = (NodeContext) context.Clone();
     this.left = (INode) left.Clone();
     this.right = (INode) right.Clone();
 }
Пример #5
0
 public AddNode(NodeContext context, INode right, INode left)
 {
     this.context = (NodeContext) context.Clone();
     this.right = (INode) right.Clone();
     this.left = (INode) left.Clone();
 }
 public MultiplyNode(NodeContext context, INode left, INode right)
 {
     this.context = (NodeContext) context.Clone();
     this.left = (INode) left.Clone();
     this.right = (INode) right.Clone();
 }
 public ConstantNode(NodeContext context, double constant)
 {
     this.context = (NodeContext) context.Clone();
     this.constant = constant;
 }