public JavaScriptEngine(JavaScriptRuntimeAttributes attributes)
 {
     runtime = this.CreateRuntime(attributes);
     context = this.CreateContext(runtime);
 }
Esempio n. 2
0
 public RuntimeDebuggingService(JavaScriptRuntime runtime)
 {
     this.runtime  = runtime;
     debugCallback = onDebugEvent;
 }
Esempio n. 3
0
 public RuntimeService(JavaScriptRuntime runtime)
 {
     this.runtime = runtime;
     context      = runtime.CreateContext();
     InternalContextSwitchService = new RuntimeInternalContextSwitcher(context);
 }