Esempio n. 1
0
 internal static extern JavaScriptErrorCode JsSetContextData(JavaScriptContext context, IntPtr data);
Esempio n. 2
0
 internal static extern JavaScriptErrorCode JsGetRuntime(JavaScriptContext context, out JavaScriptRuntime runtime);
Esempio n. 3
0
 internal static extern JavaScriptErrorCode JsGetContextOfObject(JavaScriptValue obj, out JavaScriptContext context);
Esempio n. 4
0
 internal static extern JavaScriptErrorCode JsSetCurrentContext(JavaScriptContext context);
Esempio n. 5
0
 internal static extern JavaScriptErrorCode JsGetCurrentContext(out JavaScriptContext currentContext);
Esempio n. 6
0
 internal static extern JavaScriptErrorCode JsCreateContext(JavaScriptRuntime runtime, out JavaScriptContext newContext);
Esempio n. 7
0
 internal static extern JavaScriptErrorCode JsContextRelease(JavaScriptContext reference, out uint count);
Esempio n. 8
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;
 }