Replies: 1 comment
-
That's in the domain of .NET JS interop. Afaik, delegates can't be passed directly, but instances wrapped in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
I'm wondering what would be the best way to expose C# functions to JavaScript that need delegates passed as parameters?
I guess passing
Action
/Func
is not an option, should anevent
approach be used then?The scope will be lost with this approach, is it possible to create a nested class?
Beta Was this translation helpful? Give feedback.
All reactions