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:

    1. Assignment: Automatically populated from CSV row headers or manually assigned during record creation.
    2. 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 recordLabel when you need to display text-based names in the UI or reference rows via readable slugs. For high-speed lookups and collections, use the integer id instead.