Skip to main content

ConvertToCsvNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform

Configuration for turning an array of records into one CSV document.

public record ConvertToCsvNodeConfiguration : SourceTargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IPathNodeConfiguration, IEquatable<SourceTargetPathNodeConfiguration>, IEquatable<ConvertToCsvNodeConfiguration>

Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → SourceTargetPathNodeConfiguration → ConvertToCsvNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IPathNodeConfiguration, IEquatable<SourceTargetPathNodeConfiguration>, IEquatable<ConvertToCsvNodeConfiguration>

Fields​

DefaultDelimiter​

Default for ConvertToCsvNodeConfiguration.Delimiter.

public static string DefaultDelimiter;

DefaultLineEnding​

Default for ConvertToCsvNodeConfiguration.LineEnding.

public static CsvLineEnding DefaultLineEnding;

DefaultIncludeHeader​

Default for ConvertToCsvNodeConfiguration.IncludeHeader.

public static bool DefaultIncludeHeader;

DefaultQuoting​

Default for ConvertToCsvNodeConfiguration.Quoting.

public static CsvQuoting DefaultQuoting;

DefaultTrailingDelimiter​

Default for ConvertToCsvNodeConfiguration.TrailingDelimiter.

public static bool DefaultTrailingDelimiter;

DefaultTrailingNewLine​

Default for ConvertToCsvNodeConfiguration.TrailingNewLine.

public static bool DefaultTrailingNewLine;

DefaultByteOrderMark​

Default for ConvertToCsvNodeConfiguration.ByteOrderMark.

public static bool DefaultByteOrderMark;

DefaultOutputAsBase64​

Default for ConvertToCsvNodeConfiguration.OutputAsBase64.

public static bool DefaultOutputAsBase64;

Properties​

Delimiter​

Exactly one character between cells. Defaults to ;.

public string Delimiter { get; set; }

Property Value​

String

Culture​

Culture all numbers and dates are written in unless a column names its own, for example de-AT (decimal comma) when the receiving side expects it. Unset or empty is the invariant culture (decimal point, never a comma). With a decimal comma pick a delimiter other than ,: a number that contains the delimiter is quoted, but most readers do not cope with that.

public string Culture { get; set; }

Property Value​

String

LineEnding​

Record separator, CsvLineEnding.CrLf when unset.

public Nullable<CsvLineEnding> LineEnding { get; set; }

Property Value​

Nullable<CsvLineEnding>

IncludeHeader​

Whether a header row is written first; true when unset.

public Nullable<bool> IncludeHeader { get; set; }

Property Value​

Nullable<Boolean>

Quoting​

Which cells are quoted, CsvQuoting.Minimal when unset.

public Nullable<CsvQuoting> Quoting { get; set; }

Property Value​

Nullable<CsvQuoting>

TrailingDelimiter​

Whether every row, the header included, ends with a delimiter, which some fixed formats expect; false when unset.

public Nullable<bool> TrailingDelimiter { get; set; }

Property Value​

Nullable<Boolean>

TrailingNewLine​

Whether a line end follows the last row; true when unset. An empty array writes an empty document either way.

public Nullable<bool> TrailingNewLine { get; set; }

Property Value​

Nullable<Boolean>

ByteOrderMark​

Whether the document starts with a UTF-8 byte-order mark, which Excel needs to read a UTF-8 file as UTF-8; false when unset.

public Nullable<bool> ByteOrderMark { get; set; }

Property Value​

Nullable<Boolean>

OutputAsBase64​

Whether the document is written as base64 of its UTF-8 bytes (the byte-order mark included when set) instead of as text; false when unset. That is the content CreateFileSystemUpdate@1 stores as a file-system item; SendEMail@2 then attaches the stored item by its binary id (it cannot attach base64 directly).

public Nullable<bool> OutputAsBase64 { get; set; }

Property Value​

Nullable<Boolean>

ContentLengthTargetPath​

Optional path to write the byte length of the UTF-8 document to (a long), for a following node that needs the length explicitly.

public string ContentLengthTargetPath { get; set; }

Property Value​

String

Columns​

Output columns, in order. Unset takes every scalar property of the records, in the order they first appear, with the property name as header.

public ICollection<CsvColumn> Columns { get; set; }

Property Value​

ICollection<CsvColumn>

Path​

public string Path { get; set; }

Property Value​

String

TargetPath​

public string TargetPath { get; set; }

Property Value​

String

TargetValueWriteMode​

public TargetValueWriteModes TargetValueWriteMode { get; set; }

Property Value​

TargetValueWriteModes

TargetValueKind​

public ValueKinds TargetValueKind { get; set; }

Property Value​

ValueKinds

DocumentMode​

public DocumentModes DocumentMode { get; set; }

Property Value​

DocumentModes

Description​

public string Description { get; set; }

Property Value​

String

Constructors​

ConvertToCsvNodeConfiguration()​

public ConvertToCsvNodeConfiguration()