Beispiel #1
0
        public static bool Evaluate(string conditionName, params object[] p)
        {
            DynamicBase _dynamicCondition = null;

            if (_assembly == null)
            {
                Compile();
                _dynamicCondition = _assembly.CreateInstance("Dynamo.Dynamic") as DynamicBase;
            }
            return(_dynamicCondition.EvaluateCondition(conditionName, p));
        }
Beispiel #2
0
        public static double Transform(string functionName, params object[] p)
        {
            DynamicBase _dynamicCondition = null;

            if (_assembly == null)
            {
                Compile();
                _dynamicCondition = _assembly.CreateInstance("Dynamo.Dynamic") as DynamicBase;
            }
            return(_dynamicCondition.Transform(functionName, p));
        }
Beispiel #3
0
        public static object InvokeMethod(string methodName, params object[] p)
        {
            DynamicBase _dynamicMethod = null;

            if (_assembly == null)
            {
                Compile();
                _dynamicMethod = _assembly.CreateInstance("Dynamo.Dynamic") as DynamicBase;
            }
            return(_dynamicMethod.InvokeMethod(methodName, p));
        }