Skip to content

JSMarshaller.GetToJSMethodDelegate method

Gets a delegate for a .NET adapter to a JS method. When invoked, the adapter will marshal the arguments to JS, invoke the JS method, then marshal the return value (or exception) back to .NET.

C#
public Delegate GetToJSMethodDelegate(MethodInfo method)

Remarks

The delegate has an extra initial argument of type JSValue that is the JS object on which the method will be invoked.

See Also

Released under the MIT license