Table of Contents

Class ModuleLifespanAttribute

Namespace
DisCatSharp.CommandsNext.Attributes
Assembly
DisCatSharp.CommandsNext.dll

Defines a lifespan for this command module.

[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class ModuleLifespanAttribute : Attribute
Inheritance
ModuleLifespanAttribute
Inherited Members

Constructors

ModuleLifespanAttribute(ModuleLifespan)

Defines a lifespan for this command module.

Properties

Lifespan

Gets the lifespan defined for this module.