Closed lostmsu closed 5 years ago
I have an Invokable object returned from a C# property of type dynamic. In C# I can do MyClass.Invokable(some, parameters, here).
Invokable
dynamic
MyClass.Invokable(some, parameters, here)
However, in F# MyClass.Invokable?() leads to error FS0010: Unexpected symbol ')' in expression
MyClass.Invokable?()
What is the correct syntax to make this call?
!? MyClass.Invokable (some, parameters, here)
If i understand this correctly to be a static property Invokable on class MyClass
MyClass
https://github.com/fsprojects/FSharp.Interop.Dynamic/blob/739f519d1277de69315015b8e47045f90f67c6b3/FSharp.Interop.Dynamic/TopLevelOperators.fs#L23-L33
@jbtule should add it to the README
I have an
Invokable
object returned from a C# property of typedynamic
. In C# I can doMyClass.Invokable(some, parameters, here)
.However, in F#
MyClass.Invokable?()
leads to error FS0010: Unexpected symbol ')' in expressionWhat is the correct syntax to make this call?