public static double Transform(string functionName, params object[] p) { DynamicBase _dynamicCondition = null; if (Assembly == null) { Compile(); _dynamicCondition = Assembly.CreateInstance("Dynamo.Ruminate.Utils") as DynamicBase; } return(_dynamicCondition.Transform(functionName, p)); }
public static object InvokeMethod(string methodName, params object[] p) { DynamicBase _dynamicMethod = null; if (Assembly == null) { Compile(); _dynamicMethod = Assembly.CreateInstance("Dynamo.Ruminate.Utils") as DynamicBase; } return(_dynamicMethod.InvokeMethod(methodName, p)); }
public static bool Evaluate(string conditionName, params object[] p) { DynamicBase _dynamicCondition = null; if (Assembly == null) { Compile(); _dynamicCondition = Assembly.CreateInstance("Dynamo.Ruminate.Utils") as DynamicBase; } return(_dynamicCondition.EvaluateCondition(conditionName, p)); }