Method Register
- Namespace
- DSharpPlus.AsyncEvents
- Assembly
- DSharpPlus.dll
Register(AsyncEventHandler<TSender, TArgs>)
Registers a new handler for this event.
public void Register(AsyncEventHandler<TSender, TArgs> handler)
Parameters
handler
AsyncEventHandler<TSender, TArgs>
Exceptions
- ArgumentNullException
Thrown if the specified handler was null.