Esempio n. 1
0
 internal ChakraContext(JavaScriptContext jsContext, ChakraRuntime runtime, EventWaitHandle handle) : base(runtime.ServiceNode, "ChakraContext")
 {
     jsContext.AddRef();
     this.jsContext = jsContext;
     Runtime        = runtime;
     syncHandle     = handle;
 }
 public ContextSwitchService(JavaScriptContext context, EventWaitHandle handle)
 {
     Handle       = handle;
     this.context = context;
     context.AddRef();
 }
 public RuntimeInternalContextSwitcher(JavaScriptContext internalContext)
 {
     context = internalContext;
     context.AddRef();
 }