Exemple #1
0
 internal static extern JavaScriptErrorCode JsCreateContext(JavaScriptRuntime runtime, out JavaScriptContext newContext);
Exemple #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;
 }
Exemple #4
0
 internal static extern JavaScriptErrorCode JsContextRelease(JavaScriptContext reference, out uint count);
Exemple #5
0
 internal static extern JavaScriptErrorCode JsCreateContext(JavaScriptRuntime runtime, out JavaScriptContext newContext);
Exemple #6
0
 internal static extern JavaScriptErrorCode JsCreateContext(JavaScriptRuntime runtime, IDebugApplication32 debugSite, out JavaScriptContext newContext);
Exemple #7
0
 internal static extern JavaScriptErrorCode JsSetCurrentContext(JavaScriptContext context);
Exemple #8
0
 internal static extern JavaScriptErrorCode JsGetContextOfObject(JavaScriptValue obj, out JavaScriptContext context);
Exemple #9
0
 internal static extern JavaScriptErrorCode JsCreateContext(JavaScriptRuntime runtime, IDebugApplication32 debugSite, out JavaScriptContext newContext);
Exemple #10
0
 internal static extern JavaScriptErrorCode JsGetCurrentContext(out JavaScriptContext currentContext);
Exemple #11
0
 internal static extern JavaScriptErrorCode JsContextRelease(JavaScriptContext reference, out uint count);
Exemple #12
0
 internal static extern JavaScriptErrorCode JsSetContextData(JavaScriptContext context, IntPtr data);
Exemple #13
0
 internal static extern JavaScriptErrorCode JsGetContextOfObject(JavaScriptValue obj, out JavaScriptContext context);
Exemple #14
0
 internal static extern JavaScriptErrorCode JsSetCurrentContext(JavaScriptContext context);
Exemple #15
0
 internal static extern JavaScriptErrorCode JsGetRuntime(JavaScriptContext context, out JavaScriptRuntime runtime);
Exemple #16
0
 internal static extern JavaScriptErrorCode JsGetRuntime(JavaScriptContext context, out JavaScriptRuntime runtime);
Exemple #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;
 }
Exemple #18
0
 internal static extern JavaScriptErrorCode JsSetContextData(JavaScriptContext context, IntPtr data);
Exemple #19
0
 internal static extern JavaScriptErrorCode JsContextAddRef(JavaScriptContext reference, out UInt32 count);