示例#1
0
 public DynamicExpressoInterpreter(MyCustomSingleData customData, List <Type> refTypes, List <object> variables)
 {
     Variables      = variables;
     target         = InterpreterGenerator.GetInterpreter(refTypes, variables);
     MainCustomData = customData;
     target.SetVariable("x", MainCustomData);
 }
示例#2
0
 public DynamicExpressoDelegate(List <Type> refTypes, List <object> variables)
 {
     target = InterpreterGenerator.GetInterpreter(refTypes, variables);
 }