TypeExporter.ExportAssemblyTypes method
Exports all types from a .NET assembly to JavaScript.
C#
public void ExportAssemblyTypes(Assembly assembly)Remarks
If a JS "namespaces" object was passed to the TypeExporter constructor, this method may register additional top-level namespaces on that object for types in the assembly.
If IsDelayLoadEnabled is true (the default), then individual types in the assembly are not fully exported until they are referenced either directly or by a dependency.
See Also
- class TypeExporter
- namespace Microsoft.JavaScript.NodeApi.DotNetHost