예제 #1
0
        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));
        }
예제 #2
0
        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));
        }
예제 #3
0
        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));
        }