|
Task process - .NET code execute |
Top Previous Next |
|
The .NET code execute Task is able to execute .NET code using languages C# or VB.NET.
You are able to use Variables wherever in the code and parameters. The output of the method is converted to string. The purposes of this Task could be many but you could use it to solve a specific problem for you (when no existing Task can do that for you).
The code is compiled in realtime for each execution.
Language Select either c# or VB.NET language. The syntax editor and compile methods will alter depending on selected language.
Edit references.. Add/remove any dll that you want to use as a reference to make our code work or be more compact.
Code In this text box you insert your code. It is important that;
Any return value will be converted to string.
Method selection Select the method you want to use. After you have added new code please press "Refresh methods" button.
Compile This button tests if the code can compile and will return a popup with error if not.
Refresh methods This button compiles the codes and add all existing static methods into the method combo box.
Run This button compiles and runs the code so you can test it.
Parameters If the selected method contains any parameter can double click on the row to add your own parameter value.
|