CsvColumnMapping
Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform
Maps a CSV column to a JSON output property with type conversion
public record CsvColumnMapping : IEquatable<CsvColumnMapping>
Inheritance Object → CsvColumnMapping
Implements IEquatable<CsvColumnMapping>
Properties
SourceColumn
Source column name (matched against header row)
public string SourceColumn { get; set; }
Property Value
SourceIndex
Source column index (alternative to SourceColumn, zero-based)
public Nullable<int> SourceIndex { get; set; }
Property Value
TargetProperty
Target JSON property name in the output object
public string TargetProperty { get; set; }
Property Value
DataType
Data type for value conversion
public CsvDataType DataType { get; set; }
Property Value
DateFormat
Date format string for DateTime parsing (e.g. "dd.MM.yyyy")
public string DateFormat { get; set; }
Property Value
NumberCulture
Culture name for number parsing (e.g. "de-AT")
public string NumberCulture { get; set; }
Property Value
Constructors
CsvColumnMapping()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public CsvColumnMapping()