Script

Provides a way to execute C# script.

Revision History

2.1.0.12 [.Net Framework v4.5.1] - Fixed bug on the AdditionalAssemblyPaths
2.1.0.16 - Fixed null reference bug when migrating to the 23 Refresh

Properties

Script

Type: Multiline Text Input
Provides a C# script to be compiled and executed.

Value

Type: Object Output
The Value Property returns the result from the defined Script.

Custom Properties

Adding additional input and/or output Custom Properties causes C# code properties to be declared.

Remarks

Use the Script Node to execute arbitrary C# script when no suitable Node is available or deriving the equivalent process via a series of Nodes is not desirable. As use of scripts trades off readability for throughput, it's usually recommended that it is avoided when the same behavior can be achieved using other Nodes.

Examples

See Sample Workflow for an example.

See our Github Sample for a project that will help debug the Node.

See Also

Expression
Variable Bar