Click or drag to resize

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.10.0.0 (5.10.0)
Syntax
public static string MakeCLSCompliantName(
	string name,
	Dictionary<string, string> abbreviations,
	bool capitalizeFirstCharacter,
	bool makeElementNamePascalCasing,
	bool removeUnderscoresFromElementName
)

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: String
Remarks
Assumes the name is already stripped from prefix/suffixes which should be stripped from names
See Also