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
Arguments
List of arguments to pass to the script
public IEnumerable<ScriptArgument> Arguments { get; set; }
Property Value
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
Usings
Additional using statements (e.g. "System.Linq")
public IEnumerable<string> Usings { get; set; }
Property Value
TargetPath
Gets or sets the target path in json path format
public string TargetPath { get; set; }
Property Value
TargetValueWriteMode
Gets or sets the writing mode (overwrite, append, prepend)
public TargetValueWriteModes TargetValueWriteMode { get; set; }
Property Value
TargetValueKind
Gets or sets the value kind to write (simple value or array)
public ValueKinds TargetValueKind { get; set; }
Property Value
DocumentMode
Gets or sets the document mode (extend, replace)
public DocumentModes DocumentMode { get; set; }
Property Value
Description
Gets or sets an optional description
public string Description { get; set; }
Property Value
Constructors
ExecuteCSharpNodeConfiguration()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public ExecuteCSharpNodeConfiguration()