Class ConvertSnakeConvention
- Namespace
- SunamoConverters.Converts
- Assembly
- SunamoConverters.dll
Converts text to and from snake_case convention (words_separated_by_underscores).
public class ConvertSnakeConvention
- Inheritance
-
ConvertSnakeConvention
- Inherited Members
- Extension Methods
Methods
ToConvention(string)
Converts a string to snake_case convention.
public static string ToConvention(string input)
Parameters
inputstringThe input string to convert.
Returns
- string
The string converted to snake_case.