Example #1
0
 public TResult this[NumericResult index]
 {
     get
     {
         return(NewResult(t => t.FnListGetItem, new object[] { index }));
     }
 }
Example #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)));
        }
Example #3
0
 public StringResult Substring(NumericResult begin, Parameter subLength)
 {
     return(new StringResult(this, t => t.FnSubString, new object[] { begin, subLength }));
 }
Example #4
0
 public StringResult Substring(int begin, NumericResult subLength)
 {
     return(new StringResult(this, t => t.FnSubString, new object[] { Parameter.Constant(begin), subLength }));
 }
Example #5
0
 public StringResult Substring(NumericResult begin)
 {
     return(new StringResult(this, t => t.FnSubStringWOutLen, new object[] { begin }));
 }
Example #6
0
 public StringResult Right(NumericResult subLength)
 {
     return(new StringResult(this, t => t.FnRight, new object[] { subLength }));
 }
Example #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)));
 }
Example #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)));
 }