Table of Contents

Class KebabCaseNamingPolicy

Namespace
DSharpPlus.Commands.Processors.SlashCommands.InteractionNamingPolicies
Assembly
DSharpPlus.Commands.dll

Transforms parameter names into kebab-case.

public sealed class KebabCaseNamingPolicy : IInteractionNamingPolicy
Inheritance
object
KebabCaseNamingPolicy
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.