Method WithDelegate
- Namespace
- DSharpPlus.Commands.Trees
- Assembly
- DSharpPlus.Commands.dll
WithDelegate(Delegate?)
public CommandBuilder WithDelegate(Delegate? method)
Parameters
method
Delegate
Returns
WithDelegate(MethodInfo?, object?)
public CommandBuilder WithDelegate(MethodInfo? method, object? target = null)
Parameters
method
MethodInfotarget
object