Click or drag to resize
ApplicationUtilsCreateUniqueElementName Method
Creates a unique name for an element mapped onto the target specified, using the name creator func specified. Pads created name with a padding counter till it's no longer present in the specified list of names in use.

Namespace: SD.LLBLGen.Pro.ApplicationCore
Assembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public static string CreateUniqueElementName(
	Func<IProjectElementMapTargetElement, string> nameCreatorFunc,
	HashSet<string> allNamesInUse,
	IProjectElementMapTargetElement target,
	string groupNameToUse,
	ProjectProperties properties,
	bool lowerCaseFullName,
	out string fullName
)

Parameters

nameCreatorFunc
Type: SystemFuncIProjectElementMapTargetElement, String
The name creator function.
allNamesInUse
Type: System.Collections.GenericHashSetString
All names in use.
target
Type: SD.LLBLGen.Pro.DBDriverCoreIProjectElementMapTargetElement
The target.
groupNameToUse
Type: SystemString
The group name to use.
properties
Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClassesProjectProperties
The properties.
lowerCaseFullName
Type: SystemBoolean
if set to true the fullname string will be lowercased, otherwise it is left as-is.
fullName
Type: SystemString
The full name, which is the chosen prefix (group name depending on project settings) appended with the name to use lowercased

Return Value

Type: String
See Also