Is there a way to access DLR object (eg. DynamicObject subclass instance) members (properties and methods) in F# that is similar to C# dynamic ?
There is a module now on nuget that uses the dlr to implement the dynamic operator. FSharp.Interop.Dynamic
It has several advantages over a lot of the snippets out there.
Adds an !? prefix operator to handle invoking directly dynamic objects and functions you don't have the type at runtime.
It's open source, Apache license, you can look at the implementation and the basic unit test example cases.
1.4m articles
1.4m replys
5 comments
57.0k users