Constructor ApplicationCommandModuleLifespanAttribute
- Namespace
- DisCatSharp.ApplicationCommands.Attributes
- Assembly
- DisCatSharp.ApplicationCommands.dll
ApplicationCommandModuleLifespanAttribute(ApplicationCommandModuleLifespan)
Defines this application command module's lifespan.
public ApplicationCommandModuleLifespanAttribute(ApplicationCommandModuleLifespan lifespan)
Parameters
lifespan
ApplicationCommandModuleLifespanThe lifespan of the module. Module lifespans are transient by default.