public void AssignContext(CalculationContext anotherContext)
        {
            foreach (string key in anotherContext.VariableTable.AllItemNames)
            {
                VariableTable.AssignNewItem(key, anotherContext.VariableTable[key]);
            }

            foreach (string key in anotherContext.FunctionTable.AllItemNames)
            {
                FunctionTable.AssignNewItem(key, anotherContext.FunctionTable[key]);
            }
        }
 public CalculationContext(CalculationContext otherContext) : this()
 {
     AssignContext(otherContext);
 }