Closed zhoupan closed 10 months ago
Hello, Zhoupan!
Have you tried the EmbedHostObject
and EmbedHostType
methods? EmbedHostObject
method only have an explicit restriction for the DateTime
type.
It is more appropriate to let the specific engine decide whether supports a .NET type.
Remember the main purpose of this library:
JavaScript Engine Switcher determines unified interface for access to the basic features of popular JavaScript engines (…). This library allows you to quickly and easily switch to using of another JavaScript engine.
Thank you for your help. EmbedHostObject and EmbedHostType works.
It is more appropriate to let the specific engine decide whether supports a .NET type. see: https://microsoft.github.io/ClearScript/Examples/Examples.html