Class DiscordEventArgs
- Namespace
- DisCatSharp.EventArgs
- Assembly
- DisCatSharp.dll
Common base for all other DiscordClient-related event argument classes.
public abstract class DiscordEventArgs : AsyncEventArgs
- Inheritance
-
DiscordEventArgs
- Derived
- Inherited Members
Constructors
- DiscordEventArgs(IServiceProvider)
Initializes a new instance of the DiscordEventArgs class.
Properties
- ServiceProvider
Gets the service provider.
This allows passing data around without resorting to static members.
Defaults to an empty service provider.