Table of Contents

Method WithDelegate

Namespace
DSharpPlus.Commands.Trees
Assembly
DSharpPlus.Commands.dll

WithDelegate(Delegate?)

public CommandBuilder WithDelegate(Delegate? method)

Parameters

method Delegate

Returns

CommandBuilder

WithDelegate(MethodInfo?, object?)

public CommandBuilder WithDelegate(MethodInfo? method, object? target = null)

Parameters

method MethodInfo
target object

Returns

CommandBuilder