Method AddConverter
- Namespace
- DSharpPlus.Commands.Processors
- Assembly
- DSharpPlus.Commands.dll
AddConverter<T>()
Registers a new argument converter with the processor.
public virtual void AddConverter<T>() where T : TConverter, new()Type Parameters
- T
- The type that the converter converts to. 
AddConverter<T>(TConverter)
Registers a new argument converter with the processor.
public virtual void AddConverter<T>(TConverter converter)Parameters
- converterTConverter
- The converter to register. 
Type Parameters
- T
- The type that the converter converts to. 
AddConverter(Type, TConverter)
Registers a new argument converter with the processor.
public virtual void AddConverter(Type type, TConverter converter)Parameters
- typeType
- The type that the converter converts to. 
- converterTConverter
- The converter to register. 
AddConverter(ConverterDelegateFactory)
Registers a new argument converter factory with the processor.
protected virtual void AddConverter(BaseCommandProcessor<TConverter, TConverterContext, TCommandContext>.ConverterDelegateFactory factory)Parameters
- factoryBaseCommandProcessor<TConverter, TConverterContext, TCommandContext>.ConverterDelegateFactory
- The factory that will create the argument converter and it's delegate.