TypeExporter constructor
Creates a new instance of the TypeExporter class.
C#
public TypeExporter(JSMarshaller marshaller, JSObject? namespaces = default)| parameter | description |
|---|---|
| marshaller | Used by the exporter to dynamically generate callback marshalling code for exported members. Note the marshaller's AutoCamelCase property controls the casing of members of exported types. |
| namespaces | Optional JS object where top-level .NET namespace properties (like "System") will be defined for exported types. |
See Also
- class JSMarshaller
- struct JSObject
- class TypeExporter
- namespace Microsoft.JavaScript.NodeApi.DotNetHost