Class Module
- Namespace
- JavaScriptCore
- Assembly
- JavaScriptCore-6.0.dll
public static class Module
- Inheritance
-
Module
- Inherited Members
Methods
Initialize()
Initialize the JavaScriptCore module.
public static void Initialize()
Remarks
Calling this method is necessary to correctly initialize the bindings and should be done before using anything else in the JavaScriptCore namespace.
Calling this method will also initialize the modules this module depends on:
| Module |
SetCustomDllImportResolver(DllImportResolver)
Set a custom DllImportResolver. This disables the automatic loading of native binaries for JavaScriptCore. If the given DllImportResolver receives the library name "JavaScriptCore" it has to return a pointer to the desired native JavaScriptCore binary.
[Experimental("GirCore1009", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1009.html")]
public static void SetCustomDllImportResolver(DllImportResolver customDllImportResolver)
Parameters
customDllImportResolverDllImportResolverCustom DllImportResolver to use.
Remarks
Please be aware that using this API means you are out of the officially supported area as you are able to combine GirCore with some binary the package was not build for. Please consider to generate a custom GirCore package which exactly matches your binary.
Exceptions
- Exception
Throws an exception if the method is called after module initialization.