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.ApplicationCoreAssembly: 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
)
Public Shared Function CreateUniqueElementName (
nameCreatorFunc As Func(Of IProjectElementMapTargetElement, String),
allNamesInUse As HashSet(Of String),
target As IProjectElementMapTargetElement,
groupNameToUse As String,
properties As ProjectProperties,
lowerCaseFullName As Boolean,
<OutAttribute> ByRef fullName As String
) As String
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:
StringSee Also