CamelCaseParam() public static method

Sets the first character of the param to lower, if it's an acronym it lowers it all until the next word
public static CamelCaseParam ( string param ) : string
param string The name of the parameter name for the constructor
return string
Exemplo n.º 1
0
 public static string ToCamelCase(this string s)
 {
     return(GeneratorHelpers.CamelCaseParam(s));
 }
Exemplo n.º 2
0
 public static string ToPascalCase(this string s)
 {
     return(GeneratorHelpers.CamelCaseParam(s, removeUnderscoresAndDashes: true).ToUpperFirstCharacter());
 }