Skip to content

TypeExporter constructor

Creates a new instance of the TypeExporter class.

C#
public TypeExporter(JSMarshaller marshaller, JSObject? namespaces = default)
parameterdescription
marshallerUsed 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.
namespacesOptional JS object where top-level .NET namespace properties (like "System") will be defined for exported types.

See Also

Released under the MIT license