예제 #1
0
        //
        public virtual object Evaluate(Report rpt, Row row)
        {
            string o = _ArgExpr.EvaluateString(rpt, row);

            if (o == null)
            {
                return(null);
            }
            ReportParameter rp = _Parameters[o] as ReportParameter;

            if (rp == null)
            {
                return(null);
            }

            return(rp.GetRuntimeValue(rpt));
        }
 // Evaluate is for interpretation  (and is relatively slow)
 public virtual object Evaluate(Report rpt, Row row)
 {
     return(this.p.MultiValue? EvaluateMV(rpt, row): p.GetRuntimeValue(rpt));
 }