Detailed Property Reference

Namespace: Canley.Utility.CSV.Standard
Class: CSVRecord

Definition

public int id { get; }
  • Description: The unique integer identifier used for high-performance lookups.

  • Workflow:

    1. Initialisation: Automatically generated or manually assigned during record creation and hydration.
    2. Access: Provides fast, integer-based indexing for internal record collections and caching mechanisms.
  • Returns: int - The unique identifier value.

  • Example:

public void ProcessRecord(CSVRecord record)
{
    Debug.Log(message: $"Processing record with ID: {record.id}");
}

TIP

Use the id property when you need O(1) lookups in collections or dictionaries. For human-readable identifiers or slugs, use recordLabel instead.