FileDelimiters¶
FileDelimiters centralizes the two well-known delimiter literals used by the Csv and TabDelimited format attributes so that format attributes and the reader/writer parsing logic share a single source of truth for these characters rather than repeating literal strings.
Purpose¶
- Supplies the comma delimiter used by
FileFormats.Csvconfigurations. - Supplies the tab delimiter used by
FileFormats.TabDelimitedconfigurations and byTabDelimitedRecord's hard-coded splitting behavior (BR-013).
Context¶
- Namespace:
SAIF.Common.Files - Assembly/package:
SAIF.Framework.Common.Files
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| TabDelimited | public const string TabDelimited = "\t" |
The tab-character literal assigned to FormatBase.Delimiter when a type declares the TabDelimited format. |
| Csv | public const string Csv = "," |
The comma literal assigned to FormatBase.Delimiter when a type declares the Csv format. |
Sources¶
- Common\SAIF.Common.Files\Core\Enums.cs