Class Int64Converter
The int64 converter.
Inheritance
System.Object
Int64Converter
Namespace: DisCatSharp.CommandsNext.Converters
Assembly: DisCatSharp.CommandsNext.dll
Syntax
public class Int64Converter : IArgumentConverter<long>, IArgumentConverter
Explicit Interface Implementations
| Improve this Doc View SourceIArgumentConverter<Int64>.ConvertAsync(String, CommandContext)
Converts a string.
Declaration
Task<Optional<long>> IArgumentConverter<long>.ConvertAsync(string value, CommandContext ctx)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The string to convert. |
CommandContext | ctx | The command context. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Optional<System.Int64>> |