Class KebabCaseNamingPolicy
- Assembly
- DSharpPlus.Commands.dll
Transforms parameter names into kebab-case.
public sealed class KebabCaseNamingPolicy : IInteractionNamingPolicy
- Inheritance
-
objectKebabCaseNamingPolicy
- Implements
Methods
- GetParameterName(CommandParameter, CultureInfo, int)
Transforms the parameter name into it's kebab-case equivalent.
- TransformText(ReadOnlySpan<char>, CultureInfo)
Transforms the text into it's new case.