Class ModuleLifespanAttribute
- Namespace
- DSharpPlus.CommandsNext.Attributes
- Assembly
- DSharpPlus.CommandsNext.dll
Defines a lifespan for this command module.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class ModuleLifespanAttribute : Attribute
- Inheritance
-
objectAttributeModuleLifespanAttribute
Constructors
- ModuleLifespanAttribute(ModuleLifespan)
Defines a lifespan for this command module.
Properties
- Lifespan
Gets the lifespan defined for this module.