示例#1
0
 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)
 {
     this.name = name;
     this.returnType = returnType;
     this.paramTypes = paramTypes;
     this.flags = flags;
 }
示例#3
0
        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;
        }
示例#4
0
 internal XPathFunction(XPathFunctionID functionID, string name, ValueDataType returnType, QueryFunctionFlag flags) : base(name, returnType, flags)
 {
     this.functionID = functionID;
 }
 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, 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 QueryFunction(string name, ValueDataType returnType, QueryFunctionFlag flags)
     : this(name, returnType, QueryFunction.emptyParams, flags)
 {
 }
示例#9
0
 internal bool TestFlag(QueryFunctionFlag flag)
 {
     return(0 != (this.flags & flag));
 }
示例#10
0
 internal QueryFunction(string name, ValueDataType returnType, QueryFunctionFlag flags)
     : this(name, returnType, QueryFunction.emptyParams, flags)
 {
 }