Click or drag to resize

AsciiImporterToArraysFindUniqueColumnNameWithoutBase Method

Get a unique column name based on regular naming from A to ZZ.

Namespace: Altaxo.Serialization.Ascii
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
protected string FindUniqueColumnNameWithoutBase(
	List<string> columnNames,
	HashSet<string> columnNamesSet,
	bool triedOutRegularNaming = false
)

Parameters

columnNames  ListString
Existing column names.
columnNamesSet  HashSetString
A hash set for quick membership tests corresponding to columnNames.
triedOutRegularNaming  Boolean  (Optional)
Whether to skip regular naming and use GUID-based fallback.

Return Value

String
A unique column name based on regular naming or a GUID when exhausted.
See Also