CoreUtilsMakeCLSCompliantName Method (String, DictionaryString, String, Boolean, Boolean, Boolean) |
Makes the name of the CLS compliant.
Namespace:
SD.LLBLGen.Pro.Core
Assembly:
SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax public static string MakeCLSCompliantName(
string name,
Dictionary<string, string> abbreviations,
bool capitalizeFirstCharacter,
bool makeElementNamePascalCasing,
bool removeUnderscoresFromElementName
)
Public Shared Function MakeCLSCompliantName (
name As String,
abbreviations As Dictionary(Of String, String),
capitalizeFirstCharacter As Boolean,
makeElementNamePascalCasing As Boolean,
removeUnderscoresFromElementName As Boolean
) As String
Parameters
- name
- Type: SystemString
The name. - abbreviations
- Type: System.Collections.GenericDictionaryString, String
The abbreviations. - capitalizeFirstCharacter
- Type: SystemBoolean
if set to true [capitalize first character]. - makeElementNamePascalCasing
- Type: SystemBoolean
if set to true [make element name pascal casing]. - removeUnderscoresFromElementName
- Type: SystemBoolean
if set to true [remove underscores from element name].
Return Value
Type:
StringRemarks Assumes the name is already stripped from prefix/suffixes which should be stripped from names
See Also