Table of Contents

Class KebabCaseNamingFixer

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

Transforms parameter names into kebab-case.

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