Table of Contents

Method TransformText

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

TransformText(ReadOnlySpan<char>, CultureInfo)

Transforms the text into it's new case.

public string TransformText(ReadOnlySpan<char> text, CultureInfo culture)

Parameters

text ReadOnlySpan<char>

The text to transform.

culture CultureInfo

The culture to use for the transformation.

Returns

string

The transformed text.