示例#1
0
        protected override void OnFirstRun()
        {
            base.OnFirstRun();

            CodeGenMethodName = "EvalExpr_" + this.Id;

            var exprParams = GetExprParams();
            var evalItem   = new EvaluatorItem(ReturnType, CodeGenMethodName, Condition, exprParams);

            AddEvalItem(evalItem);
        }
示例#2
0
 public Evaluator(EvaluatorItem item)
 {
     EvaluatorItem[] items = { item };
     ConstructEvaluator(items);
 }
示例#3
0
 public void AddEvalItem(EvaluatorItem evalItem)
 {
     this.Page.ExecutionContext.Items.Add(evalItem);
 }