JSValue.DefineClass method (1 of 2)
C#
public static JSValue DefineClass(string name, JSCallbackDescriptor constructorDescriptor,
params JSPropertyDescriptor[] propertyDescriptors)
See Also
- struct JSCallbackDescriptor
- struct JSPropertyDescriptor
- struct JSValue
- namespace Microsoft.JavaScript.NodeApi
JSValue.DefineClass method (2 of 2)
C#
public static JSValue DefineClass(string name, napi_callback callback, IntPtr data,
ReadOnlySpan<napi_property_descriptor> descriptors)
See Also
- struct napi_callback
- struct napi_property_descriptor
- struct JSValue
- namespace Microsoft.JavaScript.NodeApi