Method GetParameterName
- Assembly
- DSharpPlus.Commands.dll
GetParameterName(CommandParameter, CultureInfo, int)
Transforms the parameter name into it's lowercase equivalent.
public string GetParameterName(CommandParameter parameter, CultureInfo culture, int arrayIndex)
Parameters
parameterCommandParameterThe parameter being transformed.
cultureCultureInfoThe culture to use for the transformation.
arrayIndexintIf this parameter is part of an IEnumerable, the index of the parameter. The value will be -1 if this parameter is not part of an IEnumerable.
Returns
- string
The name that should be used for the interaction data.