示例#1
0
 public TResult this[NumericResult index]
 {
     get
     {
         return(NewResult(t => t.FnListGetItem, new object[] { index }));
     }
 }
示例#2
0
        public NumericListResult Extract(Func <TResult, NumericResult> logic)
        {
            TResult       itemField = NewResult(t => "item", new object[0], typeof(long));
            NumericResult result    = logic.Invoke(itemField);

            return(new NumericListResult(this, t => t.FnListExtract, new object[] { result }, typeof(long)));
        }
示例#3
0
 public StringResult Substring(NumericResult begin, Parameter subLength)
 {
     return(new StringResult(this, t => t.FnSubString, new object[] { begin, subLength }));
 }
示例#4
0
 public StringResult Substring(int begin, NumericResult subLength)
 {
     return(new StringResult(this, t => t.FnSubString, new object[] { Parameter.Constant(begin), subLength }));
 }
示例#5
0
 public StringResult Substring(NumericResult begin)
 {
     return(new StringResult(this, t => t.FnSubStringWOutLen, new object[] { begin }));
 }
示例#6
0
 public StringResult Right(NumericResult subLength)
 {
     return(new StringResult(this, t => t.FnRight, new object[] { subLength }));
 }
示例#7
0
 public static NumericListResult Range(NumericResult start, NumericResult end, NumericResult step)
 {
     return(new NumericListResult(t => t.FnRange, new object[] { start, end, step }, typeof(int)));
 }
示例#8
0
 public static NumericListResult Range(NumericResult start, NumericResult end, int step)
 {
     return(new NumericListResult(t => t.FnRange, new object[] { start, end, Parameter.Constant(step) }, typeof(int)));
 }