コード例 #1
0
 protected override object DoEvaluate(ScriptThread thread)
 {
     BasicParameter result = null;
     thread.CurrentNode = this;  //standard prolog
     var parametersCollection = thread.GetParametersCollection();
     result = parametersCollection.Find(parameterNode.AsString);
     if (result == null)
         return ExpressionHelper.ComposeAstNodeError("Parameters",parameterNode);
     return result.ParameterValue;
 }