Class ApplicationCommandModuleLifespanAttribute
- Namespace
- DisCatSharp.ApplicationCommands.Attributes
- Assembly
- DisCatSharp.ApplicationCommands.dll
Defines this application command module's lifespan. Module lifespans are transient by default.
[AttributeUsage(AttributeTargets.Class)]
public class ApplicationCommandModuleLifespanAttribute : Attribute
- Inheritance
-
ApplicationCommandModuleLifespanAttribute
- Inherited Members
Constructors
- ApplicationCommandModuleLifespanAttribute(ApplicationCommandModuleLifespan)
Defines this application command module's lifespan.
Properties
- Lifespan
Gets the lifespan.