public void AddFunction(string FunctionName, Func <int> onExeFunction, Func <int, int> onErrorFunction, bool ReqInvoke) { FunctionObjects myFun = new FunctionObjects(FunctionName, onExeFunction, onErrorFunction, ReqInvoke); functionList.Add(myFun); }
public void AddFunction(string FunctionName, Func <int> onExeFunction) { FunctionObjects myFun = new FunctionObjects(FunctionName, onExeFunction); functionList.Add(myFun); }