public static FormulaNodeAnd CreateAndNode(FormulaTree leftChild, FormulaTree rightChild)
{
return new FormulaNodeAnd
{
LeftChild = leftChild,
RightChild = rightChild
};
}
public static FormulaNodeOr CreateOrNode(FormulaTree leftChild, FormulaTree rightChild)