Browse Source

Renamed UppercaseFirst string helper to Capitalize.

pull/696/head
Joao Matos 9 years ago
parent
commit
e1b35398eb
  1. 2
      src/Generator/Utils/Utils.cs

2
src/Generator/Utils/Utils.cs

@ -70,7 +70,7 @@ namespace CppSharp
return obj.Select((t, i) => i == obj.Length - 1 ? t : t + seperator); return obj.Select((t, i) => i == obj.Length - 1 ? t : t + seperator);
} }
public static string UppercaseFirst(string s) public static string Capitalize(string s)
{ {
// Check for empty string. // Check for empty string.
if (string.IsNullOrEmpty(s)) if (string.IsNullOrEmpty(s))

Loading…
Cancel
Save