Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Host objects that implement IExpando (IDispatchEx)

$
0
0
Hello,

That's correct; ClearScript doesn't provide dynamic exposure for IReflect/IExpando instances.

Questions:
  • What script engine(s) are you using?
  • Are these managed objects? Or do you need to expose native COM objects?
In any case, this isn't a scenario we've encountered before. If you need to get this working quickly, consider creating a wrapper that implements ClearScript's IPropertyBag or System.Dynamic.IDynamicMetaObjectProvider (or derives from System.Dynamic.DynamicObject).

Good luck!

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>