CoreUtilsMakeUniqueName Method (IValidatorString, String) |
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.10.0.0 (5.10.0)
Syntax public static string MakeUniqueName(
IValidator<string> validator,
string toMakeUnique
)
Public Shared Function MakeUniqueName (
validator As IValidator(Of String),
toMakeUnique As String
) As String
Parameters
- validator
- Type: SD.LLBLGen.Pro.CoreIValidatorString
The validator. - toMakeUnique
- Type: SystemString
To make unique.
Return Value
Type:
StringtoMakeUnique padded with 0 or more underscores so it's a unique name and valid name according to the validator.
See Also