public static string ToTrainCase(this string text) { return(StringUtilsExtensions.ConvertCase(text, '-', new Func <char, char>(char.ToUpperInvariant), new Func <char, char>(char.ToUpperInvariant))); }
public static string ToSnakeCase(this string text) { return(StringUtilsExtensions.ConvertCase(text, '_', new Func <char, char>(char.ToLowerInvariant), new Func <char, char>(char.ToLowerInvariant))); }
public static string ToCamelCase(this string text) { return(StringUtilsExtensions.ConvertCase(text, StringUtilsExtensions.NoDelimiter, new Func <char, char>(char.ToLowerInvariant), new Func <char, char>(char.ToUpperInvariant))); }