You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pretty much what the topic says!
I know there are numerous helper methods for creating managed strings, arrays, etc. I also know it's possible to directly set C# object properties, etc.
However is it possible to instantiate a managed object of any arbitrary type using the Javascript side of the WASM SDK? This I haven't been able to find anywhere, even in the source code, so I'm guessing it's not but if it is I'd love to know how, or just get confirmation that it can't be done.
I realize I can create static helper methods that instantiate the managed objects and give them back to Javascript as pointers on the managed heap, but I'm looking for a general purpose solution.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Pretty much what the topic says!
I know there are numerous helper methods for creating managed strings, arrays, etc. I also know it's possible to directly set C# object properties, etc.
However is it possible to instantiate a managed object of any arbitrary type using the Javascript side of the WASM SDK? This I haven't been able to find anywhere, even in the source code, so I'm guessing it's not but if it is I'd love to know how, or just get confirmation that it can't be done.
I realize I can create static helper methods that instantiate the managed objects and give them back to Javascript as pointers on the managed heap, but I'm looking for a general purpose solution.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions