Beispiel #1
0
 internal static extern JavaScriptErrorCode JsCreateContext(JavaScriptRuntime runtime, out JavaScriptContext newContext);
Beispiel #2
0
 internal static extern JavaScriptErrorCode JsGetCurrentContext(out JavaScriptContext currentContext);
 /// <summary>
 ///     Initializes a new instance of the <see cref="Scope"/> struct. 
 /// </summary>
 /// <param name="context">The context to create the scope for.</param>
 public Scope(JavaScriptContext context)
 {
     disposed = false;
     previousContext = Current;
     Current = context;
 }
Beispiel #4
0
 internal static extern JavaScriptErrorCode JsContextRelease(JavaScriptContext reference, out uint count);
Beispiel #5
0
 internal static extern JavaScriptErrorCode JsCreateContext(JavaScriptRuntime runtime, out JavaScriptContext newContext);
Beispiel #6
0
 internal static extern JavaScriptErrorCode JsCreateContext(JavaScriptRuntime runtime, IDebugApplication32 debugSite, out JavaScriptContext newContext);
Beispiel #7
0
 internal static extern JavaScriptErrorCode JsSetCurrentContext(JavaScriptContext context);
Beispiel #8
0
 internal static extern JavaScriptErrorCode JsGetContextOfObject(JavaScriptValue obj, out JavaScriptContext context);
Beispiel #9
0
 internal static extern JavaScriptErrorCode JsCreateContext(JavaScriptRuntime runtime, IDebugApplication32 debugSite, out JavaScriptContext newContext);
Beispiel #10
0
 internal static extern JavaScriptErrorCode JsGetCurrentContext(out JavaScriptContext currentContext);
Beispiel #11
0
 internal static extern JavaScriptErrorCode JsContextRelease(JavaScriptContext reference, out uint count);
Beispiel #12
0
 internal static extern JavaScriptErrorCode JsSetContextData(JavaScriptContext context, IntPtr data);
Beispiel #13
0
 internal static extern JavaScriptErrorCode JsGetContextOfObject(JavaScriptValue obj, out JavaScriptContext context);
Beispiel #14
0
 internal static extern JavaScriptErrorCode JsSetCurrentContext(JavaScriptContext context);
Beispiel #15
0
 internal static extern JavaScriptErrorCode JsGetRuntime(JavaScriptContext context, out JavaScriptRuntime runtime);
Beispiel #16
0
 internal static extern JavaScriptErrorCode JsGetRuntime(JavaScriptContext context, out JavaScriptRuntime runtime);
Beispiel #17
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="Scope"/> struct.
 /// </summary>
 /// <param name="context">The context to create the scope for.</param>
 public Scope(JavaScriptContext context)
 {
     disposed        = false;
     previousContext = Current;
     Current         = context;
 }
Beispiel #18
0
 internal static extern JavaScriptErrorCode JsSetContextData(JavaScriptContext context, IntPtr data);
Beispiel #19
0
 internal static extern JavaScriptErrorCode JsContextAddRef(JavaScriptContext reference, out UInt32 count);