Detailed Property Reference
Namespace: Canley.Utility.CSV.Standard
Class: CSVRecord
Definition
public Dictionary<string, string> rawValues { get; }-
Description: The internal shadow dictionary storing raw string data for unmapped columns.
-
Workflow:
- Hydration: Populated during CSV parsing with any column values that do not map directly to explicit class properties.
- Access: Provides direct read access to unmapped or custom row data for flexible runtime processing.
-
Returns:
Dictionary<string, string>- The dictionary of raw string key-value pairs. -
Example:
public void InspectUnmappedData(CSVRecord record)
{
if (record.rawValues.TryGetValue("CustomField", out string value))
{
Debug.Log(message: $"Found unmapped custom field value: {value}");
}
}TIP
Use
rawValueswhen your CSV contains dynamic or extensible columns that are not hardcoded into your strongly-typed record class.