SharpChakra by SharpChakra

<PackageReference Include="SharpChakra" Version="3.0.0" />

 JsContext

public struct JsContext
public struct Scope : IDisposable

public static JsContext Current { get; set; }

public static bool HasException { get; }

public static JsContext Invalid { get; }

public bool IsValid { get; }

public JsRuntime Runtime { get; }

public static JsValue GetAndClearException()

public static uint Idle()

public static JsValue ParseScript(string _script, JsSourceContext _sourceContext, string _sourceName)

public static JsValue ParseScript(string _script, byte[] _buffer, JsSourceContext _sourceContext, string _sourceName)

public static JsValue ParseScript(string _script)

public static JsValue ParseScript(string _script, byte[] _buffer)

public static JsValue RunScript(string _script, JsSourceContext _sourceContext, string _sourceName)

public static JsValue RunScript(string _script, byte[] _buffer, JsSourceContext _sourceContext, string _sourceName)

public static JsValue RunScript(string _script)

public static JsValue RunScript(string _script, byte[] _buffer)

public static ulong SerializeScript(string _script, byte[] _buffer)

public static void SetException(JsValue _exception)

public uint AddRef()

public uint Release()