Support for SetVariableValue passing in array and/or js objects?
bnowlin opened this issue · 2 comments
bnowlin commented
Support for SetVariableValue passing in array and/or js objects?
Taritsyn commented
Hello, Brett!
Simple classes (or structures) and delegates can be passed using the EmbedHostObject
method. Unfortunately, working with collections is not yet supported. But for now, you can use JSON serialization (see an example implementation of TypeScript compiler or Autoprefixer).
Types can be passed using the EmbedHostType
method.
bnowlin commented
Thank you for the examples.
The difference methods confused me as I was expecting the interface to mirror JS.