Exemple #1
0
        static void addFunction(string format, mathFunction.functionDel function, mathFunction.functionDelWithResult functionWRes, mathFunction.functionDelReturnsString functionString)
        {
            mathFunction m = null;

            if (function != null)
            {
                m = new mathFunction(format, function);
            }
            else if (functionWRes != null)
            {
                m = new mathFunction(format, functionWRes);
            }
            else
            {
                m = new mathFunction(format, functionString);
            }

            functions.Add(m);
            // MPTVSeriesLog.Write("Added MathFunction: ", m.form, MPTVSeriesLog.LogLevel.Debug);
        }
Exemple #2
0
        static void addFunction(string format, mathFunction.functionDel function, mathFunction.functionDelWithResult functionWRes, mathFunction.functionDelReturnsString functionString)
        {
            mathFunction m = null;

            if (function != null)
                m = new mathFunction(format, function);
            else if (functionWRes != null)
                m = new mathFunction(format, functionWRes);
            else
                m = new mathFunction(format, functionString);

            functions.Add(m);
               // MPTVSeriesLog.Write("Added MathFunction: ", m.form, MPTVSeriesLog.LogLevel.Debug);
        }
Exemple #3
0
 static void addFunction(string format, mathFunction.functionDelReturnsString function)
 {
     addFunction(format, null, null, function);
 }
Exemple #4
0
 static void addFunction(string format, mathFunction.functionDelWithResult function)
 {
     addFunction(format, null, function, null);
 }
Exemple #5
0
 static void addFunction(string format, mathFunction.functionDel function)
 {
     addFunction(format, function, null, null);
 }