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
value
stringValue to convert.
ctx
CommandContextContext in which the value will be converted.