Skip to content

JSValue.DefineClass method (1 of 2)

C#
public static JSValue DefineClass(string name, JSCallbackDescriptor constructorDescriptor, 
    params JSPropertyDescriptor[] propertyDescriptors)

See Also


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

Released under the MIT license