コード例 #1
0
 public JavaScriptEngine(JavaScriptRuntimeAttributes attributes)
 {
     runtime = this.CreateRuntime(attributes);
     context = this.CreateContext(runtime);
 }
コード例 #2
0
 public RuntimeDebuggingService(JavaScriptRuntime runtime)
 {
     this.runtime  = runtime;
     debugCallback = onDebugEvent;
 }
コード例 #3
0
ファイル: RuntimeService.cs プロジェクト: yuzd/ChakraCore.NET
 public RuntimeService(JavaScriptRuntime runtime)
 {
     this.runtime = runtime;
     context      = runtime.CreateContext();
     InternalContextSwitchService = new RuntimeInternalContextSwitcher(context);
 }