node-api-dotnet
Advanced tools
Comparing version 0.2.15 to 0.2.16
@@ -30,3 +30,3 @@ // Copyright (c) Microsoft Corporation. | ||
* enabling dynamic invocation of any APIs in the assembly. | ||
* @param dotnetAssemblyFilePath Path to the .NET assembly DLL file. | ||
* @param dotnetAssemblyFilePath Path to the .NET assembly DLL file to load. | ||
* @returns A JS object that represents the loaded assembly; each property of the object | ||
@@ -36,1 +36,19 @@ * is a public type in the assembly. | ||
export declare function load(dotnetAssemblyFilePath: string): Assembly | undefined; | ||
/** | ||
* 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. | ||
*/ | ||
export declare function addListener( | ||
event: 'resolving', | ||
listener: (assemblyName: string, assemblyVersion: string) => void, | ||
): this; | ||
/** | ||
* Removes a listener for the `resolving` event. | ||
*/ | ||
export declare function removeListener( | ||
event: 'resolving', | ||
listener: (assemblyName: string, assemblyVersion: string) => void, | ||
): this; |
{ | ||
"name": "node-api-dotnet", | ||
"version": "0.2.15", | ||
"version": "0.2.16", | ||
"description": "Node-API bindings for .Net", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
17125618
144