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

New Post: Host Function that returns dynamic object

$
0
0
Hi!

Thank you for the prompt reply.

The object is typeof(dynamic).
That function makes a call to my WebServer and retrieves a XML document. This XML document can be a lot of different things, so to ease parsing, I am converting it to a dynamic object as described here: https://www.captechconsulting.com/blogs/fluent-xml-parsing-using-cs-dynamic-type-part-1
Then, my JS code should be able to access the XML document elements and attributes as dynamic C# properties.

Basically it is an object that inherits from the DynamicObject class.

I am running V8 engine.

Viewing all articles
Browse latest Browse all 2297

Trending Articles



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