'Declaration
Public Class NFormulaEngine
'Usage
Dim instance As NFormulaEngine
public class NFormulaEngine
'Declaration
Public Class NFormulaEngine
'Usage
Dim instance As NFormulaEngine
public class NFormulaEngine
// create the formula engine NFormulaEngine engine = new NFormulaEngine(); // create a variable dictionary NVariableDictionary vars = new NVariableDictionary(); vars["a"] = new NVariant(10); vars["b"] = new NVariant(20); // assign the variable dictionary to the engine engine.VariableProvider = vars; // evaluate an expression (evaluates to 50) NVariant result = engine.Evaluate("a + b * 2");
System.Object
Nevron.Nov.Formulas.NFormulaEngine
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)