예제 #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);
 }