Class EnumConverter<T>
- Namespace
- DSharpPlus.CommandsNext.Converters
- Assembly
- DSharpPlus.CommandsNext.dll
Converts a string to an enum type.
public class EnumConverter<T> : IArgumentConverter<T>, IArgumentConverter where T : struct, IComparable, IConvertible, IFormattable
Type Parameters
T
Type of enum to convert.
- Inheritance
-
objectEnumConverter<T>
- Implements