Esempio n. 1
0
 public CodeRunner(ScriptRunnerMethod method, ScriptSession session, String script)
 {
     Assert.ArgumentNotNull(script, nameof(script));
     Assert.ArgumentNotNull(method, nameof(method));
     Assert.ArgumentNotNull(session, nameof(session));
     this.Session = session;
     this.Script  = script;
     this.Method  = method;
 }
 public ScriptRunner(ScriptRunnerMethod method, ScriptSession session, string script, bool autoDispose)
 {
     Assert.ArgumentNotNull(method, "method");
     Assert.ArgumentNotNull(session, "session");
     Assert.ArgumentNotNull(script, "script");
     Method      = method;
     Session     = session;
     Script      = script;
     AutoDispose = autoDispose;
 }
Esempio n. 3
0
 public ScriptRunner(ScriptRunnerMethod method, ScriptSession session, string script, bool autoDispose)
 {
     Assert.ArgumentNotNull(method, "method");
     Assert.ArgumentNotNull(session, "session");
     Assert.ArgumentNotNull(script, "script");
     Method = method;
     Session = session;
     Script = script;
     AutoDispose = autoDispose;
 }