Detailed Property Reference
Namespace: Canley.Utility.CSV.Standard
Class: CSVRecord
Definition
public string recordLabel { get; set; }-
Description: The human-friendly string slug used for identification and deterministic ID generation.
-
Workflow:
- Assignment: Automatically populated from CSV row headers or manually assigned during record creation.
- Deterministic Fallback: Utilised to generate a consistent hash-based integer ID if an explicit ID is omitted or set to zero.
-
Returns:
string- The human-friendly identifier slug. -
Example:
public void DisplayRecordInfo(CSVRecord record)
{
Debug.Log(message: $"Loaded record with label: {record.recordLabel}");
}TIP
Use
recordLabelwhen you need to display text-based names in the UI or reference rows via readable slugs. For high-speed lookups and collections, use the integeridinstead.