Skip to main content

ExecuteCSharpNodeConfiguration

Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline.Nodes.Transforms

Configuration for executing C# code

public record ExecuteCSharpNodeConfiguration : TargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<ExecuteCSharpNodeConfiguration>

Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → ExecuteCSharpNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<ExecuteCSharpNodeConfiguration>

Properties​

Code​

The C# code to execute. Should return a value.

public string Code { get; set; }

Property Value​

String

Arguments​

List of arguments to pass to the script

public IEnumerable<ScriptArgument> Arguments { get; set; }

Property Value​

IEnumerable<ScriptArgument>

ReturnType​

Return type of the script

public AttributeValueTypesDto ReturnType { get; set; }

Property Value​

AttributeValueTypesDto

TimeoutMs​

Timeout in milliseconds (default: 5000ms)

public int TimeoutMs { get; set; }

Property Value​

Int32

Usings​

Additional using statements (e.g. "System.Linq")

public IEnumerable<string> Usings { get; set; }

Property Value​

IEnumerable<String>

TargetPath​

Gets or sets the target path in json path format

public string TargetPath { get; set; }

Property Value​

String

TargetValueWriteMode​

Gets or sets the writing mode (overwrite, append, prepend)

public TargetValueWriteModes TargetValueWriteMode { get; set; }

Property Value​

TargetValueWriteModes

TargetValueKind​

Gets or sets the value kind to write (simple value or array)

public ValueKinds TargetValueKind { get; set; }

Property Value​

ValueKinds

DocumentMode​

Gets or sets the document mode (extend, replace)

public DocumentModes DocumentMode { get; set; }

Property Value​

DocumentModes

Description​

Gets or sets an optional description

public string Description { get; set; }

Property Value​

String

Constructors​

ExecuteCSharpNodeConfiguration()​

Caution​

Constructors of types with required members are not supported in this version of your compiler.


public ExecuteCSharpNodeConfiguration()