node-api-dotnet
Advanced tools
Comparing version 0.7.42 to 0.8.1
@@ -74,8 +74,16 @@ // Copyright (c) Microsoft Corporation. | ||
* Adds a listener for the `resolving` event, which is raised when a .NET assembly requires | ||
* an additional dependent assembly to be resolved and loaded. The listener must call `load()` | ||
* to load the requested assembly file. | ||
* an additional dependent assembly to be resolved and loaded. The listener may call `resolve()` | ||
* to load the requested assembly from a resolved file path. If the listener does not call | ||
* `resolve()`, the runtime will then attempt to resolve the assembly by searching in the same | ||
* application directory as other already-loaded assemblies, if there were any. | ||
*/ | ||
export function addListener( | ||
event: 'resolving', | ||
listener: (assemblyName: string, assemblyVersion: string) => void, | ||
/** | ||
* Resolving event listener funciton to be invokved when a .NET assembly is being resolved. | ||
* @param assemblyName Name of the assembly to be resolved. | ||
* @param assemblyVersion Version of the assembly to be resolved. | ||
* @param resolve Callback to invoke with the full path to the resolved assembly file. | ||
*/ | ||
listener: (assemblyName: string, assemblyVersion: string, resolve: (string) => void) => void, | ||
): void; | ||
@@ -82,0 +90,0 @@ |
{ | ||
"name": "node-api-dotnet", | ||
"version": "0.7.42", | ||
"version": "0.8.1", | ||
"description": "Node-API bindings for .Net", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12663463
207