Пример #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);
        }
Пример #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);
        }
Пример #3
0
 static void addFunction(string format, mathFunction.functionDelReturnsString function)
 {
     addFunction(format, null, null, function);
 }
Пример #4
0
 static void addFunction(string format, mathFunction.functionDelWithResult function)
 {
     addFunction(format, null, function, null);
 }
Пример #5
0
 static void addFunction(string format, mathFunction.functionDel function)
 {
     addFunction(format, function, null, null);
 }