Click or drag to resize

CoreUtils.MakeUniqueName Method (IEnumerable<String>, String, Boolean)

Makes the string passed in unique and valid for the validator.

Namespace:  SD.LLBLGen.Pro.Core
Assembly:  SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public static string MakeUniqueName(
	IEnumerable<string> existingNames,
	string toMakeUnique,
	bool caseInsensitiveComparisons
)

Parameters

existingNames
Type: System.Collections.Generic.IEnumerable<String>
The existing names.
toMakeUnique
Type: System.String
To make unique.
caseInsensitiveComparisons
Type: System.Boolean
if set to true, case insensitive comparisons are performed.

Return Value

Type: String
toMakeUnique padded with a counter so it's a unique name and valid name according to the validator.
See Also