A bit rusty in C#
I need to pass in a callback to a method:
void InvokeScript(string jsScript, Action<object> resultCallback);
In my class I have created a method to pass in to the method:
public void callback(System.Action<object> resultCallback)
{
}
Error message 1:
Resco.UI.IJavascriptBridge.InvokeScript(string, System.Action<object>)' has some invalid arguments
Error message 2:
cannot convert from 'method group' to 'System.Action<object>'
Thanks in advance