Question
C# Integration in Script Component
Hi guys,
I have some questions regarding of integration with C# dll with openspan.
1. As far as I know, I can use script component to run my C# assembly.
However, if it is non static method that which should be only accessible in an instance of class, can I still use that method?
or only script component is available for static methods?
2. Can we do this in script components for this kind of method using param ?
(E.G: public void DoSomething (params int[] list))
If so, then how can we pass params in openspan files? can we pass a list from openspan?
Thanks in advance!
1. You would need to instantiate your object in the script class first to be able to access any public methods it has.
2. Your syntax for handling a params array works (params int[] list).