Beispiel #1
0
        public ScriptRunner.ReturnRun GetScriptRunner(Key key, bool readOnly, out ScriptRunner.SingleRun patchRun)
        {
            if (key == null)
            {
                patchRun = null;
                return(new ScriptRunner.ReturnRun());
            }
            var scriptRunner = GetScriptRunner(key);
            var returnRun    = scriptRunner.GetRunner(out patchRun);

            patchRun.ReadOnly = readOnly;
            return(returnRun);
        }
Beispiel #2
0
 public ScriptRunnerResult(ScriptRunner.SingleRun parent, JsValue instance)
 {
     _parent   = parent;
     _instance = instance;
 }