Method RegisterConverter
- Namespace
- DisCatSharp.CommandsNext
- Assembly
- DisCatSharp.CommandsNext.dll
RegisterConverter<T>(IReadOnlyDictionary<int, CommandsNextExtension>, IArgumentConverter<T>)
Registers an argument converter for specified type.
public static void RegisterConverter<T>(this IReadOnlyDictionary<int, CommandsNextExtension> extensions, IArgumentConverter<T> converter)
Parameters
extensionsIReadOnlyDictionary<int, CommandsNextExtension>Extensions to register the converter on.
converterIArgumentConverter<T>Converter to register.
Type Parameters
TType for which to register the converter.