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