public ConditionFunctionHandlers(ConditionFunctions c, ConditionVariables v, ConditionPersistentData h, int recd) { caller = c; vars = v; persistentdata = h; recdepth = recd; paras = new List <Parameter>(); }
public static delegateGetCFH GetCFH; // SET this to override and add on more functions public ConditionFunctions(ConditionVariables v, ConditionPersistentData f) { vars = v; persistentdata = f; if (GetCFH == null) // Make sure we at least have some functions.. the base ones { GetCFH = DefaultGetCFH; } }
// backstop standard functions static public ConditionFunctionHandlers DefaultGetCFH(ConditionFunctions c, ConditionVariables vars, ConditionPersistentData handles, int recdepth) { return(new ConditionFunctionsBase(c, vars, handles, recdepth)); }