public static void Run(string script, object target) { var bindings = new ScriptBindings(target); Basic = new BasicScriptRunner(bindings); Basic.Run(script); }
public static void Run(string script, ScriptBindings bindings) { Basic = new BasicScriptRunner(); Basic.AddBindings(bindings); Basic.Run(script); }
public static void Run(string script) { Basic = new BasicScriptRunner(); Basic.Run(script); }