Table of Contents

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 IServiceProvider

The service provider to use for creating the converter instance, if needed.

Returns

ConverterDelegate

The converter delegate.