Example #1
0
 public Result <T> RunScript <T>(DynamicScript dynamicScript)
 {
     dynamicScript.CheckNull("dynamicScript can not be null");
     return(SwitchDynamicScriptEngine(dynamicScript.Language).Run <T>(dynamicScript));
 }
Example #2
0
 public Result CheckScript(DynamicScript dynamicScript)
 {
     dynamicScript.CheckNull("dynamicScript can not be null");
     return(SwitchDynamicScriptEngine(dynamicScript.Language).CheckScript(dynamicScript));
 }