Class ModuleLifespanAttribute
Defines a lifespan for this command module.
Inheritance
System.Object
ModuleLifespanAttribute
Namespace: DSharpPlus.CommandsNext.Attributes
Assembly: cs.temp.dll.dll
Syntax
public class ModuleLifespanAttribute : Attribute
Constructors
ModuleLifespanAttribute(ModuleLifespan)
Defines a lifespan for this command module.
Declaration
public ModuleLifespanAttribute(ModuleLifespan lifespan)
Parameters
Type | Name | Description |
---|---|---|
ModuleLifespan | lifespan | Lifespan for this module. |
Properties
Lifespan
Gets the lifespan defined for this module.
Declaration
public ModuleLifespan Lifespan { get; }
Property Value
Type | Description |
---|---|
ModuleLifespan |