Search Results for

    Show / Hide Table of Contents

    Class ApplicationCommandModuleLifespanAttribute

    Defines this application command module's lifespan. Module lifespans are transient by default.

    Inheritance
    System.Object
    System.Attribute
    ApplicationCommandModuleLifespanAttribute
    Namespace: DisCatSharp.ApplicationCommands
    Assembly: DisCatSharp.ApplicationCommands.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class)]
    public class ApplicationCommandModuleLifespanAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    ApplicationCommandModuleLifespanAttribute(ApplicationCommandModuleLifespan)

    Defines this application command module's lifespan.

    Declaration
    public ApplicationCommandModuleLifespanAttribute(ApplicationCommandModuleLifespan lifespan)
    Parameters
    Type Name Description
    ApplicationCommandModuleLifespan lifespan

    The lifespan of the module. Module lifespans are transient by default.

    Properties

    | Improve this Doc View Source

    Lifespan

    Gets the lifespan.

    Declaration
    public ApplicationCommandModuleLifespan Lifespan { get; }
    Property Value
    Type Description
    ApplicationCommandModuleLifespan

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems