Method GetConverterDelegate
- Namespace
- DSharpPlus.Commands.Processors
- Assembly
- DSharpPlus.Commands.dll
GetConverterDelegate(IServiceProvider)
Creates and caches the converter delegate if it hasn't been created yet.
public ConverterDelegate GetConverterDelegate(IServiceProvider serviceProvider)
Parameters
serviceProvider
IServiceProviderThe service provider to use for creating the converter instance, if needed.
Returns
- ConverterDelegate
The converter delegate.