Method ConvertAsync
- Namespace
- DisCatSharp.CommandsNext.Converters
- Assembly
- DisCatSharp.CommandsNext.dll
ConvertAsync(string, CommandContext)
Converts the raw value into the specified type.
Task<Optional<T>> ConvertAsync(string value, CommandContext ctx)
Parameters
valuestringValue to convert.
ctxCommandContextContext in which the value will be converted.