Class StringConverter
Represents a string converter.
Inheritance
System.Object
StringConverter
Namespace: DisCatSharp.CommandsNext.Converters
Assembly: DisCatSharp.CommandsNext.dll
Syntax
public class StringConverter : IArgumentConverter<string>, IArgumentConverter
Explicit Interface Implementations
| Improve this Doc View SourceIArgumentConverter<String>.ConvertAsync(String, CommandContext)
Converts a string.
Declaration
Task<Optional<string>> IArgumentConverter<string>.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.String>> |