internal QueryFunction(string name, ValueDataType returnType, ValueDataType[] paramTypes, QueryFunctionFlag flags) { this.name = name; this.returnType = returnType; this.paramTypes = paramTypes; this.flags = flags; }
internal QueryFunction(string name, ValueDataType returnType, ValueDataType[] paramTypes, QueryFunctionFlag flags) { Fx.Assert(null != paramTypes, ""); Fx.Assert(null != name, ""); this.name = name; this.returnType = returnType; this.paramTypes = paramTypes; this.flags = flags; }
internal XPathFunction(XPathFunctionID functionID, string name, ValueDataType returnType, QueryFunctionFlag flags) : base(name, returnType, flags) { this.functionID = functionID; }
internal bool TestFlag(QueryFunctionFlag flag) { return (0 != (this.flags & flag)); }
internal QueryFunction(string name, ValueDataType returnType, QueryFunctionFlag flags) : this(name, returnType, QueryFunction.emptyParams, flags) { }
internal bool TestFlag(QueryFunctionFlag flag) { return(0 != (this.flags & flag)); }