Type[] _ArgTypes; // argument types /// <summary> /// passed ReportClass, function name, and args for evaluation /// </summary> public FunctionCode(string f, IExpr[] a, TypeCode type) { _Func = f; _Args = a; _ReturnTypeCode = type; _ArgTypes = new Type[a.Length]; int i = 0; foreach (IExpr ex in a) { _ArgTypes[i++] = XmlUtil.GetTypeFromTypeCode(ex.GetTypeCode()); } }
Type[] _ArgTypes; // argument types /// <summary> /// passed class name, function name, and args for evaluation /// </summary> public FunctionCustomStatic(CodeModules cm, string c, string f, IExpr[] a, TypeCode type) { _Cls = c; _Func = f; _Args = a; _Cm = cm; _ReturnTypeCode = type; _ArgTypes = new Type[a.Length]; int i = 0; foreach (IExpr ex in a) { _ArgTypes[i++] = XmlUtil.GetTypeFromTypeCode(ex.GetTypeCode()); } }
Type[] _ArgTypes; // argument types /// <summary> /// passed ReportClass, function name, and args for evaluation /// </summary> public FunctionCustomInstance(ReportClass rc, string f, IExpr[] a, TypeCode type) { _Cls = null; _Func = f; _Args = a; _Rc = rc; _ReturnTypeCode = type; _ArgTypes = new Type[a.Length]; int i = 0; foreach (IExpr ex in a) { _ArgTypes[i++] = XmlUtil.GetTypeFromTypeCode(ex.GetTypeCode()); } }
static public Type GetStyleType(string s) { TypeCode t = GetStyle(s, (ReportDefn)null); return(XmlUtil.GetTypeFromTypeCode(t)); }