Пример #1
0
 internal static extern JavaScriptErrorCode JsGetContextOfObject(JavaScriptValue obj, out JavaScriptContext context);
Пример #2
0
 internal static extern JavaScriptErrorCode JsSetContextData(JavaScriptContext context, IntPtr data);
Пример #3
0
 internal static extern JavaScriptErrorCode JsSetCurrentContext(JavaScriptContext context);
Пример #4
0
 internal static extern JavaScriptErrorCode JsGetRuntime(JavaScriptContext context, out JavaScriptRuntime runtime);
Пример #5
0
 internal static extern JavaScriptErrorCode JsCreateContext(JavaScriptRuntime runtime, out JavaScriptContext newContext);
Пример #6
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;
 }
Пример #8
0
 internal static extern JavaScriptErrorCode JsContextRelease(JavaScriptContext reference, out uint count);
Пример #9
0
 internal static extern JavaScriptErrorCode JsGetContextOfObject(JavaScriptValue obj, out JavaScriptContext context);
Пример #10
0
 internal static extern JavaScriptErrorCode JsSetContextData(JavaScriptContext context, IntPtr data);
Пример #11
0
 internal static extern JavaScriptErrorCode JsGetRuntime(JavaScriptContext context, out JavaScriptRuntime runtime);
Пример #12
0
 internal static extern JavaScriptErrorCode JsSetCurrentContext(JavaScriptContext context);
Пример #13
0
 internal static extern JavaScriptErrorCode JsGetCurrentContext(out JavaScriptContext currentContext);
Пример #14
0
 internal static extern JavaScriptErrorCode JsCreateContext(JavaScriptRuntime runtime, out JavaScriptContext newContext);
Пример #15
0
 internal static extern JavaScriptErrorCode JsContextRelease(JavaScriptContext reference, out uint count);