Table of Contents

Class EnumConverter<T>

Namespace
DSharpPlus.Commands.Converters
Assembly
DSharpPlus.Commands.dll
public class EnumConverter<T> : ISlashArgumentConverter<T>, ISlashArgumentConverter, ITextArgumentConverter<T>, ITextArgumentConverter, IArgumentConverter<T>, IArgumentConverter where T : struct, Enum

Type Parameters

T
Inheritance
object
EnumConverter<T>
Implements

Properties

ParameterType
ReadableName
RequiresText

Methods

ConvertAsync(ConverterContext)

Converts the argument to the desired type.