Exemplo n.º 1
0
 public Object Calculate(TriggerObject trigObj)
 {
     if (Children.Count == 0 || Children.Count > 1)
     {
         throw new Exception("Bad number of children in MathTree!:" + Children.Count + " ScriptString: " + ScriptString);
     }
     return(MathNode.Calculate(trigObj, (MathNode)Children[0]));
 }