Table of Contents

Class EventAttribute

Namespace
DisCatSharp.Enums
Assembly
DisCatSharp.dll

Methods marked with this attribute will be registered as event handling methods if the associated type / an associated instance is being registered.

[AttributeUsage(AttributeTargets.Method)]
public class EventAttribute : Attribute
Inheritance
EventAttribute
Inherited Members

Constructors

EventAttribute()
EventAttribute(DiscordEvent)