public void Calculate() { if (NeedsCalculation) { Value = MyFunctions.CalculateFormula(FormulaTemp); IsCalculated = true; } }