Ajay asks:
Having defined function(s) [C# method(s)] using ExecStmt:
Is there a way of enumerating those functions?
Joe comments:
Yes, if the C# method, 'result_type M1(...)' is defined within a C# class definition, 'Class1':
Use []CSE 'ExecStmt' 'Class1 c1 = new Class1();' to create an instance of the class containing the definition of the C# method 'M1(...)'.
Use []CSE 'GetValue ' 'c1.M1(...)' to execute the method and return the result to APL+WIn, or
Use []CSE 'ExecStmt' 'result_type res = c1.M1(...)' to execute the method and put that value into a C# field
that
Currently No, if the C# method is defined directly in the CSE instance and not in a C# class definition:
e.g. []CSE 'ExecStmt' 'result_type M1(...){...}'
However a future version of the CSE will enhance the CSE 'GetMethods' and 'GetProperties' and provide a 'GetFields' method
so that C# methods, properties and fields defined directly in a C# instance without a containing C# class definition can be listed.