예제 #1
0
        public static void Run(string script, object target)
        {
            var bindings = new ScriptBindings(target);

            Basic = new BasicScriptRunner(bindings);
            Basic.Run(script);
        }
예제 #2
0
 public static void Run(string script, ScriptBindings bindings)
 {
     Basic = new BasicScriptRunner();
     Basic.AddBindings(bindings);
     Basic.Run(script);
 }
예제 #3
0
 public static void Run(string script)
 {
     Basic = new BasicScriptRunner();
     Basic.Run(script);
 }