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
-
EnumConverter<T>
- Implements
Properties
Methods
- ConvertAsync(ConverterContext)
Converts the argument to the desired type.